Fix mark as read in notifications to be saved immediately (#14907)
* Fix mark as read in notifications to be saved immediately * fix code style
This commit is contained in:
		
							parent
							
								
									65136600e3
								
							
						
					
					
						commit
						bec8b12bb5
					
				
					 3 changed files with 9 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -266,7 +266,7 @@ class UI extends React.PureComponent {
 | 
			
		|||
 | 
			
		||||
  handleWindowFocus = () => {
 | 
			
		||||
    this.props.dispatch(focusApp());
 | 
			
		||||
    this.props.dispatch(submitMarkers());
 | 
			
		||||
    this.props.dispatch(submitMarkers({ immediate: true }));
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  handleWindowBlur = () => {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue