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/08/23 18:18:06 UTC

[incubator-streampipes] 03/03: [STREAMPIPES-579] Properly initialize dashboard model

This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch rel/0.70.0
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git

commit 20e06d3430b451ef58dcc80f7d1de7f2feb7e6b6
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Tue Aug 23 16:34:31 2022 +0200

    [STREAMPIPES-579] Properly initialize dashboard model
---
 ui/src/app/dashboard/components/overview/dashboard-overview.component.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/src/app/dashboard/components/overview/dashboard-overview.component.ts b/ui/src/app/dashboard/components/overview/dashboard-overview.component.ts
index ce728dc8b..3d41f7000 100644
--- a/ui/src/app/dashboard/components/overview/dashboard-overview.component.ts
+++ b/ui/src/app/dashboard/components/overview/dashboard-overview.component.ts
@@ -77,6 +77,7 @@ export class DashboardOverviewComponent implements OnInit {
   openNewDashboardDialog() {
     const dashboard = {} as Dashboard;
     dashboard.widgets = [];
+    dashboard.dashboardGeneralSettings = {};
 
     this.openDashboardModificationDialog(true, dashboard);
   }