Skip to content

Commit

Permalink
feat(admin-ui): Persist dashboard layout to localStorage
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Dec 29, 2020
1 parent 0eaffc1 commit ace115d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export class DashboardComponent implements OnInit {
width: item.width,
}));
this.widgetLayout = this.dashboardWidgetService.getWidgetLayout(newLayoutDef);
this.localStorageService.set('dashboardWidgetLayout', newLayoutDef);
setTimeout(() => this.changedDetectorRef.markForCheck());
}
}
Expand Down

0 comments on commit ace115d

Please sign in to comment.