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) { }