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

This commit is contained in:
Willem Dantuma
2021-03-08 08:45:13 +01:00
parent eb46b3496a
commit f8a0e1e167
2 changed files with 15 additions and 1 deletions

View File

@@ -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;
}