You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2022/05/29 19:12:35 UTC
[incubator-streampipes] branch dev updated: [hotfix] Show panel designer in edit mode
This is an automated email from the ASF dual-hosted git repository.
riemer 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 c41b68e12 [hotfix] Show panel designer in edit mode
c41b68e12 is described below
commit c41b68e12017d794443981f5cf9578c313fb97ad
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Sun May 29 21:12:27 2022 +0200
[hotfix] Show panel designer in edit mode
---
.../components/widget-view/abstract-widget-view.directive.ts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ui/src/app/data-explorer/components/widget-view/abstract-widget-view.directive.ts b/ui/src/app/data-explorer/components/widget-view/abstract-widget-view.directive.ts
index 1b5fafb25..852395ab4 100644
--- a/ui/src/app/data-explorer/components/widget-view/abstract-widget-view.directive.ts
+++ b/ui/src/app/data-explorer/components/widget-view/abstract-widget-view.directive.ts
@@ -91,6 +91,9 @@ export abstract class AbstractWidgetViewDirective {
this.processWidget(r);
this.onWidgetsAvailable();
this.widgetsAvailable = true;
+ if (this.dashboard.widgets.length > 0 && this.editMode) {
+ this.startEditModeEmitter.emit(this.configuredWidgets.get(this.dashboard.widgets[0].id));
+ }
});
});
}