From 6fb13842a5de6dd0cf72dfd15d77bfed81f850e3 Mon Sep 17 00:00:00 2001 From: Victor Marin <36818606+mdvictor@users.noreply.github.com> Date: Mon, 15 Apr 2024 15:13:07 +0300 Subject: [PATCH] Fix Canvas crashing in scenes dashboard (#86117) --- public/app/plugins/panel/canvas/module.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/plugins/panel/canvas/module.tsx b/public/app/plugins/panel/canvas/module.tsx index 75566872d8b..e6fa75a7256 100644 --- a/public/app/plugins/panel/canvas/module.tsx +++ b/public/app/plugins/panel/canvas/module.tsx @@ -66,7 +66,7 @@ export const plugin = new PanelPlugin(CanvasPanel) addStandardCanvasEditorOptions(builder); - if (state) { + if (state && state.scene) { builder.addNestedOptions(getLayerEditor(state)); const selection = state.selected;