Skip to content

Commit

Permalink
bug/IVYPORTAL-18147-Adding-new-dashboard-dialogs-with-templates-store… (
Browse files Browse the repository at this point in the history
#1322)

* bug/IVYPORTAL-18147-Adding-new-dashboard-dialogs-with-templates-store-permission-value-when-closing

- setPermissionDTOs with empty list when opening new adding dashboard dialog

* bug/IVYPORTAL-18147-Adding-new-dashboard-dialogs-with-templates-store-permission-value-when-closing

- Handle feedback

* bug/IVYPORTAL-18147-Adding-new-dashboard-dialogs-with-templates-store-permission-value-when-closing

- Clean code
  • Loading branch information
lmluat-axonivy authored Dec 19, 2024
1 parent 2f69b77 commit e0955f1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ private void onAddDashboard(boolean isPublicDashboard) {

private void mappingCommonDataToNewDashboard(String templateId, String dashboardId) {
this.selectedDashboard.setTemplateId(templateId);
this.selectedDashboard.setPermissionDTOs(new ArrayList<>());
this.selectedDashboard.setId(dashboardId);
this.selectedDashboard.setTitles(new ArrayList<>());
this.selectedDashboard.setIcon(this.isPublicDashboard ? PUBLIC_DASHBOARD_DEFAULT_ICON : PRIVATE_DASHBOARD_DEFAULT_ICON);
Expand Down

0 comments on commit e0955f1

Please sign in to comment.