add closeall action
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma
2020-06-26 08:22:31 +02:00
parent 31c1570ffb
commit 69f8184dfe
2 changed files with 14 additions and 3 deletions

View File

@@ -20,6 +20,7 @@ export const CLOSEMODAL = '[AppCommon] CloseModal';
export const LOGIN = '[AppCommon] Login';
export const LOGOUT = '[AppCommon] Logout';
export const ESCAPE = '[AppCommon] Escape';
export const CLOSEALL = '[AppCommon] CloseAll';
export const LOADITEMTYPES = '[AppCommon] LoadItemTypes';
export const LOADITEMTYPESSUCCESS = '[AppCommon] LoadItemTypesSuccess';
@@ -99,6 +100,12 @@ export class CloseModal implements Action {
constructor() { }
}
export class CloseAll implements Action {
readonly type = CLOSEALL;
constructor() { }
}
export class StartRouteLoading implements Action {
readonly type = STARTROUTELOADING;
@@ -279,6 +286,7 @@ export type Actions = OpenModal
| ToggleMenu
| SetMenuVisible
| InitUserPackagesSuccess
| ToggleAccountMenu;
| ToggleAccountMenu
| CloseAll;