mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 10:34:15 +00:00
101623: Remove hardcoded 'browse by srsc' menu option in MenuResolver
This commit is contained in:
@@ -137,20 +137,6 @@ export class MenuResolver implements Resolve<boolean> {
|
|||||||
} as TextMenuItemModel,
|
} as TextMenuItemModel,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
menuList.push(
|
|
||||||
{
|
|
||||||
id: 'browse_global_by_srsc',
|
|
||||||
parentID: 'browse_global',
|
|
||||||
active: false,
|
|
||||||
visible: true,
|
|
||||||
index: 99,
|
|
||||||
model: {
|
|
||||||
type: MenuItemType.LINK,
|
|
||||||
text: `menu.section.browse_global_by_srsc`,
|
|
||||||
link: `/browse/srsc`
|
|
||||||
} as LinkMenuItemModel
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
menuList.forEach((menuSection) => this.menuService.addSection(MenuID.PUBLIC, Object.assign(menuSection, {
|
menuList.forEach((menuSection) => this.menuService.addSection(MenuID.PUBLIC, Object.assign(menuSection, {
|
||||||
shouldPersistOnRouteChange: true
|
shouldPersistOnRouteChange: true
|
||||||
|
Reference in New Issue
Block a user