feat(xo-web/backup-ng/overview): display the schedule's name (#3445)

Fixes #3444
This commit is contained in:
badrAZ 2018-09-24 13:43:49 +02:00 committed by Pierre Donias
parent c7ab1ddb0c
commit b22514646e
2 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,7 @@
- [Backup reports] Ability to test the plugin (PR [#3421](https://github.com/vatesfr/xen-orchestra/pull/3421))
- [Backup NG] Ability to restart failed VMs' backup [#3339](https://github.com/vatesfr/xen-orchestra/issues/3339) (PR [#3420](https://github.com/vatesfr/xen-orchestra/pull/3420))
- [VM] Ability to change the NIC type [#3423](https://github.com/vatesfr/xen-orchestra/issues/3423) (PR [#3440](https://github.com/vatesfr/xen-orchestra/pull/3440))
- [Backup NG Overview] Display the schedule's name [#3444](https://github.com/vatesfr/xen-orchestra/issues/3444) (PR [#3445](https://github.com/vatesfr/xen-orchestra/pull/3445))
### Bug fixes

View File

@ -55,6 +55,7 @@ const _runBackupNgJob = ({ id, name, schedule }) =>
const SchedulePreviewBody = ({ item: job, userData: { schedulesByJob } }) => (
<table>
<tr className='text-muted'>
<th>{_('scheduleName')}</th>
<th>{_('scheduleCron')}</th>
<th>{_('scheduleTimezone')}</th>
<th>{_('scheduleExportRetention')}</th>
@ -64,6 +65,7 @@ const SchedulePreviewBody = ({ item: job, userData: { schedulesByJob } }) => (
</tr>
{map(schedulesByJob && schedulesByJob[job.id], schedule => (
<tr key={schedule.id}>
<td>{schedule.name}</td>
<td>{schedule.cron}</td>
<td>{schedule.timezone}</td>
<td>{job.settings[schedule.id].exportRetention}</td>