You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2022/05/29 19:18:41 UTC
[incubator-streampipes] branch dev updated: [hotfix] Fix change widget in edit mode
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new d47736454 [hotfix] Fix change widget in edit mode
d47736454 is described below
commit d47736454231ce152783624aeb2b4b6fa4da48e2
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Sun May 29 21:12:05 2022 +0200
[hotfix] Fix change widget in edit mode
---
.../slide-view/data-explorer-dashboard-slide-view.component.ts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/ui/src/app/data-explorer/components/widget-view/slide-view/data-explorer-dashboard-slide-view.component.ts b/ui/src/app/data-explorer/components/widget-view/slide-view/data-explorer-dashboard-slide-view.component.ts
index 53ab2e019..c05de2442 100644
--- a/ui/src/app/data-explorer/components/widget-view/slide-view/data-explorer-dashboard-slide-view.component.ts
+++ b/ui/src/app/data-explorer/components/widget-view/slide-view/data-explorer-dashboard-slide-view.component.ts
@@ -70,8 +70,15 @@ export class DataExplorerDashboardSlideViewComponent extends AbstractWidgetViewD
this.currentMeasure = this.dataLakeMeasures.get(widgetId);
this.currentDashboardItem = this.dashboard.widgets[index] as unknown as DashboardItem;
this.currentlyConfiguredWidgetId = widgetId;
+
+ // Opens the design panel for the current widget when in edit mode
+ if (this.editMode) {
+ this.startEditModeEmitter.emit(this.currentWidget);
+ }
+
this.displayWidget = true;
});
+
}
ngAfterViewInit(): void {