From 48d2b7e694477a331fcfc2ad5a7da0018be42509 Mon Sep 17 00:00:00 2001 From: Alex Alloza Date: Thu, 21 Dec 2023 13:48:31 +0100 Subject: [PATCH] sidebar new dashboard reload fix --- .../src/app/shared/components/sidebar/sidebar.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eda/eda_app/src/app/shared/components/sidebar/sidebar.component.ts b/eda/eda_app/src/app/shared/components/sidebar/sidebar.component.ts index 7f647b7a..537b4769 100644 --- a/eda/eda_app/src/app/shared/components/sidebar/sidebar.component.ts +++ b/eda/eda_app/src/app/shared/components/sidebar/sidebar.component.ts @@ -230,7 +230,7 @@ export class SidebarComponent implements OnInit { public onCloseCreateDashboard(event?: any): void { this.createDashboard = false; - if (event) this.router.navigate(['/dashboard', event._id]); + if (event) this.router.navigate(['/dashboard', event._id]).then(() => window.location.reload()); } }