Add SetUnreadNotifications action
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
@@ -164,6 +164,10 @@ export function reducer(state = initialState, action: appCommonActions.Actions )
|
||||
}
|
||||
return tassign(state,{unreadNotifications:unread});
|
||||
}
|
||||
case appCommonActions.SETUNREADNOTIFICATIONS: {
|
||||
let a = action as appCommonActions.SetUnreadNotifications;
|
||||
return tassign(state,{unreadNotifications:a.unread});
|
||||
}
|
||||
default: {
|
||||
return state;
|
||||
}
|
||||
|
Reference in New Issue
Block a user