Skip to content

Commit

Permalink
sidebar new dashboard reload fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Alloza committed Dec 21, 2023
1 parent f940621 commit 48d2b7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

}

0 comments on commit 48d2b7e

Please sign in to comment.