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..e8337a5 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,8 @@ export default function (AB) { editorUI.id = `${ids.editArea}_dashboard_layout`; // clear out widgets in our dashboard area - const idDashboard = editorUI.rows[0].id; + const subWidgets = editorUI.rows ?? editorUI.cols; + const idDashboard = subWidgets[0].id; const $dashboard = $$(idDashboard); if ($dashboard) $dashboard.clearAll();