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:
		| @@ -76,6 +76,8 @@ export const OFFLINE = '[AppCommon] Offline'; | ||||
|  | ||||
| export const SETPAGEMODE = '[AppCommon] SetPageMode'; | ||||
|  | ||||
| export const SETUNREADNOTIFICATIONS = '[AppCommon] SetUnreadNotifications'; | ||||
|  | ||||
| export class InitUser implements Action { | ||||
|   readonly type = INITUSER; | ||||
|  | ||||
| @@ -338,6 +340,13 @@ export class SetPageMode implements Action { | ||||
|  | ||||
|   constructor(public pageMode:boolean) {} | ||||
| } | ||||
|  | ||||
| export class SetUnreadNotifications implements Action { | ||||
|   readonly type = SETUNREADNOTIFICATIONS; | ||||
|  | ||||
|   constructor(public unread:number) {} | ||||
|  | ||||
| } | ||||
|    | ||||
|  | ||||
| export type Actions = OpenModal | ||||
| @@ -382,6 +391,7 @@ export type Actions = OpenModal | ||||
|   | ToggleAppMenu | ||||
|   | ToggleNotificationMenu | ||||
|   | ToggleHelpMenu | ||||
|   | NotificationEvent; | ||||
|   | NotificationEvent | ||||
|   | SetUnreadNotifications; | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user