diff --git a/projects/common/src/fm/actions/app-common.actions.ts b/projects/common/src/fm/actions/app-common.actions.ts index cb7f844..d982659 100644 --- a/projects/common/src/fm/actions/app-common.actions.ts +++ b/projects/common/src/fm/actions/app-common.actions.ts @@ -48,6 +48,8 @@ export const UPLOADEDFILECLICK = '[AppCommon] UploadedFileClick'; export const TOGGLEMENU = '[AppCommon] ToggleMenu'; +export const SETMENUVISIBLE = '[AppCommon] SetMenuVisible'; + export class InitUser implements Action { readonly type = INITUSER; @@ -220,6 +222,12 @@ export class ToggleMenu implements Action { constructor() { } } + +export class SetMenuVisible implements Action { + readonly type = SETMENUVISIBLE; + + constructor(public visible:boolean) { } +} export type Actions = OpenModal @@ -249,4 +257,5 @@ export type Actions = OpenModal | TaskEndEvent | TaskErrorEvent | DeviceUpdateEvent - | ToggleMenu; + | ToggleMenu + | SetMenuVisible; diff --git a/projects/common/src/fm/components/app/app.component.html b/projects/common/src/fm/components/app/app.component.html index 1072e29..66318d2 100644 --- a/projects/common/src/fm/components/app/app.component.html +++ b/projects/common/src/fm/components/app/app.component.html @@ -10,7 +10,7 @@