AW-900
This commit is contained in:
@@ -33,7 +33,7 @@ export function reducer(state = initialState, action: appCommonActions.Actions )
|
||||
switch (action.type) {
|
||||
case appCommonActions.INITUSERSUCCESS: {
|
||||
let a = action as appCommonActions.InitUserSuccess;
|
||||
return tassign(state, { user: a.user });
|
||||
return tassign(state, { user: a.user,initialized: true });
|
||||
}
|
||||
case appCommonActions.INITROOTSUCCESS: {
|
||||
let a = action as appCommonActions.InitRootSuccess;
|
||||
@@ -44,10 +44,7 @@ export function reducer(state = initialState, action: appCommonActions.Actions )
|
||||
}
|
||||
case appCommonActions.CLOSEMODAL: {
|
||||
return tassign(state, { openedModalName: null });
|
||||
}
|
||||
case appCommonActions.INITIALIZED: {
|
||||
return tassign(state, { initialized: true });
|
||||
}
|
||||
}
|
||||
case appCommonActions.LOADITEMTYPESSUCCESS: {
|
||||
let a = action as appCommonActions.LoadItemTypesSuccess;
|
||||
return tassign(state, { itemTypes: a.itemTypes });
|
||||
|
Reference in New Issue
Block a user