mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
62063: Browse config refactoring property metadata to id
This commit is contained in:
@@ -82,14 +82,14 @@ export class NavbarComponent extends MenuComponent implements OnInit {
|
||||
const types = this.config.browseBy.types;
|
||||
types.forEach((typeConfig) => {
|
||||
menuList.push({
|
||||
id: `browse_global_by_${typeConfig.metadata}`,
|
||||
id: `browse_global_by_${typeConfig.id}`,
|
||||
parentID: 'browse_global',
|
||||
active: false,
|
||||
visible: true,
|
||||
model: {
|
||||
type: MenuItemType.LINK,
|
||||
text: `menu.section.browse_global_by_${typeConfig.metadata}`,
|
||||
link: `/browse/${typeConfig.metadata}`
|
||||
text: `menu.section.browse_global_by_${typeConfig.id}`,
|
||||
link: `/browse/${typeConfig.id}`
|
||||
} as LinkMenuItemModel
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user