Refactoring for landingpage support
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma
2020-10-29 19:14:06 +01:00
parent a5ece9b453
commit 46c5f74b49
8 changed files with 145 additions and 86 deletions

View File

@@ -66,6 +66,8 @@ export const ONLINE = '[AppCommon] Online';
export const OFFLINE = '[AppCommon] Offline';
export const SETPAGEMODE = '[AppCommon] SetPageMode';
export class InitUser implements Action {
readonly type = INITUSER;
@@ -298,6 +300,12 @@ export class Offline implements Action {
constructor() { }
}
export class SetPageMode implements Action {
readonly type = SETPAGEMODE;
constructor(public pageMode:boolean) {}
}
export type Actions = OpenModal
@@ -337,6 +345,7 @@ export type Actions = OpenModal
| ToggleAccountMenu
| CloseAll
| Online
| Offline;
| Offline
| SetPageMode;