From ddb01aac1769867a2e2c20d7ab93b3013ac4246e Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Fri, 22 Jan 2021 12:30:40 +0200 Subject: [PATCH] Minor fixes --- .../src/app/modules/dashboard/dashboard-pages.routing.module.ts | 1 + .../src/app/modules/home/components/widget/widget.component.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/dashboard/dashboard-pages.routing.module.ts b/ui-ngx/src/app/modules/dashboard/dashboard-pages.routing.module.ts index 2d500f1da4..5c3bcb8d11 100644 --- a/ui-ngx/src/app/modules/dashboard/dashboard-pages.routing.module.ts +++ b/ui-ngx/src/app/modules/dashboard/dashboard-pages.routing.module.ts @@ -95,6 +95,7 @@ const routes: Routes = [ exports: [RouterModule], providers: [ WidgetEditorDashboardResolver, + DashboardResolver, { provide: MODULES_MAP, useValue: modulesMap diff --git a/ui-ngx/src/app/modules/home/components/widget/widget.component.ts b/ui-ngx/src/app/modules/home/components/widget/widget.component.ts index e780bbfedf..7838f7e7ba 100644 --- a/ui-ngx/src/app/modules/home/components/widget/widget.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/widget.component.ts @@ -97,7 +97,6 @@ import { AlarmDataService } from '@core/api/alarm-data.service'; import { MatDialog } from '@angular/material/dialog'; import { ComponentType } from '@angular/cdk/portal'; import { EMBED_DASHBOARD_DIALOG_TOKEN } from '@home/components/widget/dialog/embed-dashboard-dialog-token'; -import { Dashboard } from '@shared/models/dashboard.models'; @Component({ selector: 'tb-widget',