mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
This commit is contained in:
parent
bdbd2c70a0
commit
4645529eec
1 changed files with 2 additions and 1 deletions
|
@ -54,6 +54,7 @@ class MultiJobActionsMenuUI extends Component {
|
|||
};
|
||||
|
||||
render() {
|
||||
const anyJobsDeleting = this.props.jobs.some(j => j.deleting);
|
||||
const button = (
|
||||
<EuiButtonIcon
|
||||
size="s"
|
||||
|
@ -64,7 +65,7 @@ class MultiJobActionsMenuUI extends Component {
|
|||
defaultMessage: 'Management actions'
|
||||
})}
|
||||
color="text"
|
||||
disabled={(this.canDeleteJob === false && this.canStartStopDatafeed === false)}
|
||||
disabled={(anyJobsDeleting || (this.canDeleteJob === false && this.canStartStopDatafeed === false))}
|
||||
/>
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue