feat(xo-web/updater): disable upgrade button when not needed (#2816)
Fixes #1594
This commit is contained in:
parent
a6b0690416
commit
3e326c4e62
@ -230,6 +230,7 @@ export default class XoaUpdates extends Component {
|
||||
<ActionButton
|
||||
btnStyle='success'
|
||||
data-runningJobsExist={this._getRunningJobsExist()}
|
||||
disabled={state !== 'upgradeNeeded'}
|
||||
handler={upgrade}
|
||||
icon='upgrade'
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user