diff --git a/src/rootPages/Designer/ui_work_interface_workspace_editor_layout.js b/src/rootPages/Designer/ui_work_interface_workspace_editor_layout.js index 6bdefd9..0c5023a 100644 --- a/src/rootPages/Designer/ui_work_interface_workspace_editor_layout.js +++ b/src/rootPages/Designer/ui_work_interface_workspace_editor_layout.js @@ -261,7 +261,7 @@ export default function (AB) { editorUI.id = `${ids.editArea}_dashboard_layout`; // clear out widgets in our dashboard area - const idDashboard = editorUI.rows[0].id; + const idDashboard = (editorUI.rows?.[0] ?? editorUI).id; const $dashboard = $$(idDashboard); if ($dashboard) $dashboard.clearAll();