fix(xo-web/backup/overview): disable job cancellation (#4688)
Fixes #4657
This commit is contained in:
parent
04a562372b
commit
0bffbbfe65
@ -3,6 +3,10 @@
|
||||
> Keep in mind the changelog is addressed to **users** and should be
|
||||
> understandable by them.
|
||||
|
||||
### Dropped features
|
||||
|
||||
- [Backup / Overview] Job cancellation will be disabled until we find a way to make it work [#4657](https://github.com/vatesfr/xen-orchestra/issues/4657) (PR [#4688](https://github.com/vatesfr/xen-orchestra/pull/4688))
|
||||
|
||||
### Enhancements
|
||||
|
||||
> Users must be able to say: “Nice enhancement, I'm eager to test it”
|
||||
|
@ -47,6 +47,7 @@ const messages = {
|
||||
vms: 'VMs',
|
||||
metadata: 'Metadata',
|
||||
chooseBackup: 'Choose a backup',
|
||||
temporarilyDisabled: 'Temporarily disabled',
|
||||
clickToShowError: 'Click to show error',
|
||||
backupJobs: 'Backup jobs',
|
||||
iscsiSessions:
|
||||
|
@ -148,15 +148,22 @@ const SchedulePreviewBody = decorate([
|
||||
style={{ marginRight: '0.5em' }}
|
||||
/>
|
||||
{job.runId !== undefined ? (
|
||||
<ActionButton
|
||||
btnStyle='danger'
|
||||
handler={cancelJob}
|
||||
handlerParam={job}
|
||||
icon='cancel'
|
||||
key='cancel'
|
||||
size='small'
|
||||
tooltip={_('formCancel')}
|
||||
/>
|
||||
<Tooltip content={_('temporarilyDisabled')}>
|
||||
<span>
|
||||
<ActionButton
|
||||
btnStyle='danger'
|
||||
// 2020-01-29 Job cancellation will be disabled until we find a way to make it work.
|
||||
// See https://github.com/vatesfr/xen-orchestra/issues/4657
|
||||
disabled
|
||||
handler={cancelJob}
|
||||
handlerParam={job}
|
||||
icon='cancel'
|
||||
key='cancel'
|
||||
size='small'
|
||||
tooltip={_('formCancel')}
|
||||
/>
|
||||
</span>
|
||||
</Tooltip>
|
||||
) : (
|
||||
<ActionButton
|
||||
btnStyle='primary'
|
||||
|
Loading…
Reference in New Issue
Block a user