mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
fix menu resolver condition for LDN
This commit is contained in:
@@ -372,7 +372,7 @@ export class MenuResolver implements Resolve<boolean> {
|
|||||||
{
|
{
|
||||||
id: 'coar_notify',
|
id: 'coar_notify',
|
||||||
active: false,
|
active: false,
|
||||||
visible: isSiteAdmin,
|
visible: isSiteAdmin && isCoarNotifyEnabled,
|
||||||
model: {
|
model: {
|
||||||
type: MenuItemType.TEXT,
|
type: MenuItemType.TEXT,
|
||||||
text: 'menu.section.coar_notify'
|
text: 'menu.section.coar_notify'
|
||||||
@@ -384,7 +384,7 @@ export class MenuResolver implements Resolve<boolean> {
|
|||||||
id: 'notify_dashboard',
|
id: 'notify_dashboard',
|
||||||
active: false,
|
active: false,
|
||||||
parentID: 'coar_notify',
|
parentID: 'coar_notify',
|
||||||
visible: isSiteAdmin,
|
visible: isSiteAdmin && isCoarNotifyEnabled,
|
||||||
model: {
|
model: {
|
||||||
type: MenuItemType.LINK,
|
type: MenuItemType.LINK,
|
||||||
text: 'menu.section.notify_dashboard',
|
text: 'menu.section.notify_dashboard',
|
||||||
|
Reference in New Issue
Block a user