Browse Source

fixes after review

pull/6374/head
Dmitriymush 4 years ago
parent
commit
4c860732b5
  1. 16
      ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts

16
ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts

@ -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});
} }
} }
} }

Loading…
Cancel
Save