57053: intermediate commit active issue

This commit is contained in:
lotte
2018-12-05 12:46:22 +01:00
parent c839b55412
commit c17b395ba0
39 changed files with 1187 additions and 474 deletions

View 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: {}
}
};