From a6c5e2b03ca17f346bd6b7af6d7a905678f8a00e Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 4 Aug 2019 22:37:06 +0200 Subject: [PATCH] set dashboard component to non static --- .../src/app/dashboard/dashboard/dashboard.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/dashboard/src/app/dashboard/dashboard/dashboard.component.ts b/src/frontend/dashboard/src/app/dashboard/dashboard/dashboard.component.ts index 52ff6ad..3465651 100644 --- a/src/frontend/dashboard/src/app/dashboard/dashboard/dashboard.component.ts +++ b/src/frontend/dashboard/src/app/dashboard/dashboard/dashboard.component.ts @@ -35,7 +35,7 @@ import { DashboardService } from '../dashboard.service'; }) export class DashboardComponent implements AfterViewInit { - @ViewChild('content', { read: ViewContainerRef }) content: ViewContainerRef; + @ViewChild('content', { read: ViewContainerRef, static: false }) content: ViewContainerRef; constructor(private compiler: Compiler, private dashboardService: DashboardService, private injector: Injector) { }