Fix relogin issue on mobile
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma 2020-06-25 19:04:40 +02:00
parent fe2650c4fd
commit 31c1570ffb

View File

@ -107,7 +107,7 @@ export function reducer(state = initialState, action: appCommonActions.Actions )
return tassign(state,{userPackages:packages}); return tassign(state,{userPackages:packages});
} }
case appCommonActions.LOGOUT:{ case appCommonActions.LOGOUT:{
return tassign(state,{user:null}); return tassign(state,{user:null,initialized:false});
} }
default: { default: {
return state; return state;