Do not handle clicks in detailed status content
This commit is contained in:
		
							parent
							
								
									7da934c1f5
								
							
						
					
					
						commit
						b83e693c40
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -91,9 +91,9 @@ export default class StatusContent extends React.PureComponent {
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  handleMouseUp = (e) => {
 | 
					  handleMouseUp = (e) => {
 | 
				
			||||||
    const { parseClick } = this.props;
 | 
					    const { parseClick, disabled } = this.props;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (!this.startXY) {
 | 
					    if (disabled || !this.startXY) {
 | 
				
			||||||
      return;
 | 
					      return;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -228,6 +228,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
 | 
				
			||||||
            onExpandedToggle={onToggleHidden}
 | 
					            onExpandedToggle={onToggleHidden}
 | 
				
			||||||
            parseClick={this.parseClick}
 | 
					            parseClick={this.parseClick}
 | 
				
			||||||
            onUpdate={this.handleChildUpdate}
 | 
					            onUpdate={this.handleChildUpdate}
 | 
				
			||||||
 | 
					            disabled
 | 
				
			||||||
          />
 | 
					          />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          <div className='detailed-status__meta'>
 | 
					          <div className='detailed-status__meta'>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue