PageService.java: In method "insertPage()", put new page in portal pages map as disabled (false) by default.

This commit is contained in:
Konstantina Galouni 2023-06-28 15:39:02 +03:00
parent df34c2f3ca
commit 02169daeb7
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ public class PageService {
for( Portal portal : portals ) {
Map<String, Boolean> pages = portal.getPages();
pages.put(page.getId(), true);
pages.put(page.getId(), false);
portal.setPages(pages);
portalService.insertOrUpdatePortal(portal);
}