|
|
@ -919,14 +919,14 @@ export class DashboardPageComponent extends PageComponent implements IDashboardC |
|
|
} |
|
|
} |
|
|
for (const l of Object.keys(this.layouts)) { |
|
|
for (const l of Object.keys(this.layouts)) { |
|
|
const layout: DashboardPageLayout = this.layouts[l]; |
|
|
const layout: DashboardPageLayout = this.layouts[l]; |
|
|
if (layoutsData[l]) { |
|
|
if (layoutsData[l]) { |
|
|
layout.show = true; |
|
|
layout.show = true; |
|
|
const layoutInfo: DashboardLayoutInfo = layoutsData[l]; |
|
|
const layoutInfo: DashboardLayoutInfo = layoutsData[l]; |
|
|
this.updateLayout(layout, layoutInfo); |
|
|
this.updateLayout(layout, layoutInfo); |
|
|
} else { |
|
|
} else { |
|
|
layout.show = false; |
|
|
layout.show = false; |
|
|
this.updateLayout(layout, {widgetIds: [], widgetLayouts: {}, gridSettings: null}); |
|
|
this.updateLayout(layout, {widgetIds: [], widgetLayouts: {}, gridSettings: null}); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|