feat(backup-ng/logs): add the job's name to the modal's title (#3115)
See #2711
This commit is contained in:
parent
abbb0450f8
commit
3656e83df5
@ -19,6 +19,7 @@
|
||||
- Disable cancel/destroy tasks when not allowed [#3076](https://github.com/vatesfr/xen-orchestra/issues/3076)
|
||||
- Default remote type is NFS [#3103](https://github.com/vatesfr/xen-orchestra/issues/3103) (PR [#3114](https://github.com/vatesfr/xen-orchestra/pull/3114))
|
||||
- Add legacy backups snapshots to backup/health [#3082](https://github.com/vatesfr/xen-orchestra/issues/3082) (PR [#3111](https://github.com/vatesfr/xen-orchestra/pull/3111))
|
||||
- [Backup NG logs] Add the job's name to the modal's title [#2711](https://github.com/vatesfr/xen-orchestra/issues/2711) (PR [#3115](https://github.com/vatesfr/xen-orchestra/pull/3115))
|
||||
|
||||
### Bugs
|
||||
|
||||
|
@ -102,10 +102,10 @@ const LOG_COLUMNS = [
|
||||
},
|
||||
]
|
||||
|
||||
const showTasks = log =>
|
||||
const showTasks = (log, { jobs }) =>
|
||||
alert(
|
||||
<span>
|
||||
{_('jobModalTitle', { job: log.jobId.slice(4, 8) })}{' '}
|
||||
{get(() => jobs[log.jobId].name) || 'Job'} ({log.jobId.slice(4, 8)}){' '}
|
||||
<span style={{ fontSize: '0.5em' }} className='text-muted'>
|
||||
{log.id}
|
||||
</span>
|
||||
|
Loading…
Reference in New Issue
Block a user