feat(xo-web/backup-ng/overview): show advanced settings with non-default values (#3554)
Fixes #3549
This commit is contained in:
parent
b67231c56b
commit
e0a3b8ace8
@ -16,6 +16,7 @@
|
||||
- [Home] Improve search usage: raw numbers also match in names [#2906](https://github.com/vatesfr/xen-orchestra/issues/2906) (PR [#3552](https://github.com/vatesfr/xen-orchestra/pull/3552))
|
||||
- [Backup NG] Timeout of a job is now in hours [#3550](https://github.com/vatesfr/xen-orchestra/issues/3550) (PR [#3553](https://github.com/vatesfr/xen-orchestra/pull/3553))
|
||||
- [Backup NG] Explicit error if a VM is missing [#3434](https://github.com/vatesfr/xen-orchestra/issues/3434) (PR [#3522](https://github.com/vatesfr/xen-orchestra/pull/3522))
|
||||
- [Backup NG] Show all advanced settings with non-default values in overview [#3549](https://github.com/vatesfr/xen-orchestra/issues/3549) (PR [#3554](https://github.com/vatesfr/xen-orchestra/pull/3554))
|
||||
|
||||
### Bug fixes
|
||||
|
||||
|
@ -190,13 +190,18 @@ class JobsTable extends React.Component {
|
||||
},
|
||||
{
|
||||
itemRenderer: job => {
|
||||
const { concurrency, offlineSnapshot } = job.settings[''] || {}
|
||||
const { concurrency, offlineSnapshot, reportWhen, timeout } =
|
||||
job.settings[''] || {}
|
||||
|
||||
return (
|
||||
<Ul>
|
||||
{reportWhen && <Li>{_.keyValue(_('reportWhen'), reportWhen)}</Li>}
|
||||
{concurrency > 0 && (
|
||||
<Li>{_.keyValue(_('concurrency'), concurrency)}</Li>
|
||||
)}
|
||||
{timeout > 0 && (
|
||||
<Li>{_.keyValue(_('timeout'), timeout / 1e3)} hours</Li>
|
||||
)}
|
||||
{offlineSnapshot && (
|
||||
<Li>
|
||||
{_.keyValue(
|
||||
|
Loading…
Reference in New Issue
Block a user