mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix Canvas crashing in scenes dashboard (#86117)
This commit is contained in:
@@ -66,7 +66,7 @@ export const plugin = new PanelPlugin<Options>(CanvasPanel)
|
|||||||
|
|
||||||
addStandardCanvasEditorOptions(builder);
|
addStandardCanvasEditorOptions(builder);
|
||||||
|
|
||||||
if (state) {
|
if (state && state.scene) {
|
||||||
builder.addNestedOptions(getLayerEditor(state));
|
builder.addNestedOptions(getLayerEditor(state));
|
||||||
|
|
||||||
const selection = state.selected;
|
const selection = state.selected;
|
||||||
|
|||||||
Reference in New Issue
Block a user