set dashboard component to non static

This commit is contained in:
peter
2019-08-04 22:37:06 +02:00
parent 15c7286015
commit a6c5e2b03c
@@ -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) { }