();
@@ -76,6 +78,6 @@ export class WidgetFooterComponent implements OnInit {
}
zoomWidget() {
- this.dashboardService.zoomWidget(DashboardManipulationEnum.Zoom, this.widget.id, this.widget);
+ this.dashboardService.zoomWidget(DashboardManipulationEnum.Zoom, this.widget.id, this.widget, this.reloadAfterZoom, this.getInitialWidgetData());
}
}
diff --git a/src/app/widgets/components/widget-header/widget-header.component.ts b/src/app/widgets/components/widget-header/widget-header.component.ts
index b1f5181b..9cf82e61 100644
--- a/src/app/widgets/components/widget-header/widget-header.component.ts
+++ b/src/app/widgets/components/widget-header/widget-header.component.ts
@@ -43,7 +43,7 @@ export class WidgetHeaderComponent implements OnInit {
}
zoomWidget() {
- this.dashboardService.zoomWidget(DashboardManipulationEnum.Zoom, this.widget.id, this.widget);
+ this.dashboardService.zoomWidget(DashboardManipulationEnum.Zoom, this.widget.id, this.widget, false, null);
}
custom(i: number) {
diff --git a/src/app/widgets/widget.component.html b/src/app/widgets/widget.component.html
index da7e241a..6fe789a4 100644
--- a/src/app/widgets/widget.component.html
+++ b/src/app/widgets/widget.component.html
@@ -34,7 +34,7 @@
-
+
diff --git a/src/app/widgets/widget.component.ts b/src/app/widgets/widget.component.ts
index 75f91720..c76d696c 100644
--- a/src/app/widgets/widget.component.ts
+++ b/src/app/widgets/widget.component.ts
@@ -29,6 +29,7 @@ export class WidgetComponent implements OnInit {
@Input() userHasDeleteAuthorization = false;
@Input() userHasUpdatePropertiesAuthorization = false;
@Input() userHasUpdateNameAuthorization = false;
+ @Input() initialWidgetData: any;
constructor() {}