Skip to content

Commit 8c54361

Browse files
committed
[DSC-1328] feature: communities&collections item for the admin panel
1 parent c96f7b2 commit 8c54361

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

src/app/menu.resolver.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,19 @@ export class MenuResolver implements Resolve<boolean> {
659659
createSiteAdministratorMenuSections() {
660660
this.authorizationService.isAuthorized(FeatureID.AdministratorOf).subscribe((authorized) => {
661661
const menuList = [
662+
/* Communities & Collections */
663+
{
664+
id: 'browse_global_communities_and_collections',
665+
active: false,
666+
visible: !environment.layout.navbar.showCommunityCollection,
667+
model: {
668+
type: MenuItemType.LINK,
669+
text: `menu.section.communities_and_collections`,
670+
link: `/community-list`
671+
} as LinkMenuItemModel,
672+
icon: 'list-alt',
673+
index: 2
674+
},
662675
/* Notifications */
663676
{
664677
id: 'notifications',

0 commit comments

Comments
 (0)