diff --git a/src/app/pages/dashboard/components/dashboard/dashboard.component.html b/src/app/pages/dashboard/components/dashboard/dashboard.component.html index 06a4cc2a88e..4da64eb9a07 100644 --- a/src/app/pages/dashboard/components/dashboard/dashboard.component.html +++ b/src/app/pages/dashboard/components/dashboard/dashboard.component.html @@ -61,7 +61,7 @@ > -
+
diff --git a/src/app/pages/dashboard/components/dashboard/dashboard.component.ts b/src/app/pages/dashboard/components/dashboard/dashboard.component.ts index 5d7603a6653..e09267302cb 100644 --- a/src/app/pages/dashboard/components/dashboard/dashboard.component.ts +++ b/src/app/pages/dashboard/components/dashboard/dashboard.component.ts @@ -76,7 +76,6 @@ export class DashboardComponent implements AfterViewInit, OnDestroy { dashState: DashConfigItem[]; // Saved State previousState: DashConfigItem[]; activeMobileWidget: DashConfigItem[] = []; - availableWidgets: DashConfigItem[]; renderedWidgets: DashConfigItem[]; readonly ScreenType = ScreenType; @@ -158,7 +157,6 @@ export class DashboardComponent implements AfterViewInit, OnDestroy { this.volumeData = state.volumesData; this.systemInformation = state.sysInfoWithFeatures; this.isHaLicensed = state.isHaLicensed; - this.availableWidgets = state.availableWidgets; this.setDashState(state.dashboardState); }), untilDestroyed(this), @@ -270,8 +268,6 @@ export class DashboardComponent implements AfterViewInit, OnDestroy { conf.push({ name: WidgetName.Memory, rendered: true, id: conf.length.toString() }); conf.push({ name: WidgetName.Storage, rendered: true, id: conf.length.toString() }); conf.push({ name: WidgetName.Network, rendered: true, id: conf.length.toString() }); - - this.availableWidgets = conf; } showConfigForm(): void {