Merge branch 'feature_disable_tab_notifier' into cybrespace-3.0
This commit is contained in:
		
						commit
						17d3ed59a6
					
				
					 1 changed files with 1 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -23,16 +23,8 @@ class DocumentTitle extends PureComponent {
 | 
			
		|||
  }
 | 
			
		||||
 | 
			
		||||
  _sideEffects () {
 | 
			
		||||
    const { unread } = this.props;
 | 
			
		||||
 | 
			
		||||
    if (unread > 99) {
 | 
			
		||||
      document.title = `(*) ${title}`;
 | 
			
		||||
    } else if (unread > 0) {
 | 
			
		||||
      document.title = `(${unread}) ${title}`;
 | 
			
		||||
    } else {
 | 
			
		||||
    document.title = title;
 | 
			
		||||
  }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  render () {
 | 
			
		||||
    return null;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue