Do not handle clicks in detailed status content

th-downstream
Thibaut Girka 6 years ago committed by ThibG
parent 7da934c1f5
commit b83e693c40

@ -91,9 +91,9 @@ export default class StatusContent extends React.PureComponent {
}
handleMouseUp = (e) => {
const { parseClick } = this.props;
const { parseClick, disabled } = this.props;
if (!this.startXY) {
if (disabled || !this.startXY) {
return;
}

@ -228,6 +228,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
onExpandedToggle={onToggleHidden}
parseClick={this.parseClick}
onUpdate={this.handleChildUpdate}
disabled
/>
<div className='detailed-status__meta'>

Loading…
Cancel
Save