Skip to content

Commit a79c403

Browse files
fix menu resolver condition for LDN
1 parent 23cb4ca commit a79c403

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/menu.resolver.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ export class MenuResolver implements Resolve<boolean> {
372372
{
373373
id: 'coar_notify',
374374
active: false,
375-
visible: isSiteAdmin,
375+
visible: isSiteAdmin && isCoarNotifyEnabled,
376376
model: {
377377
type: MenuItemType.TEXT,
378378
text: 'menu.section.coar_notify'
@@ -384,7 +384,7 @@ export class MenuResolver implements Resolve<boolean> {
384384
id: 'notify_dashboard',
385385
active: false,
386386
parentID: 'coar_notify',
387-
visible: isSiteAdmin,
387+
visible: isSiteAdmin && isCoarNotifyEnabled,
388388
model: {
389389
type: MenuItemType.LINK,
390390
text: 'menu.section.notify_dashboard',

0 commit comments

Comments
 (0)