diff --git a/modules/admin/src/app/dashboards/dashboardView.component.ts b/modules/admin/src/app/dashboards/dashboardView.component.ts index 9dbfd71d..f07d2f27 100644 --- a/modules/admin/src/app/dashboards/dashboardView.component.ts +++ b/modules/admin/src/app/dashboards/dashboardView.component.ts @@ -51,7 +51,9 @@ export class DashboardView { dragulaService.drop.subscribe((value) => { this.onDrop(value.slice(1)); }); + } + ngOnInit() { this.route.data.subscribe((res) => { this.boxesCss = res['data'].boxesCss; this.boxes = res['data'].boxes;