mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 13:33:03 +00:00
57053: intermediate commit active issue
This commit is contained in:
29
src/app/shared/menu/initial-menus-state.ts
Normal file
29
src/app/shared/menu/initial-menus-state.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
import { MenusState } from './menu.reducer';
|
||||
|
||||
export enum MenuID {
|
||||
ADMIN = 'admin-sidebar',
|
||||
PUBLIC = 'public'
|
||||
}
|
||||
|
||||
export enum SectionType {
|
||||
TEXT, LINK, ALTMETRIC, SEARCH
|
||||
}
|
||||
|
||||
export const initialMenusState: MenusState = {
|
||||
[MenuID.ADMIN]:
|
||||
{
|
||||
id: MenuID.ADMIN,
|
||||
collapsed: false,
|
||||
visible: false,
|
||||
sections: {},
|
||||
sectionToSubsectionIndex: {}
|
||||
},
|
||||
[MenuID.PUBLIC]:
|
||||
{
|
||||
id: MenuID.PUBLIC,
|
||||
collapsed: true,
|
||||
visible: true,
|
||||
sections: {},
|
||||
sectionToSubsectionIndex: {}
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user