feat(xo-web/backup): don't open edition in new tab (#5130)
This commit is contained in:
parent
cbada35788
commit
6beefe86e2
@ -9,6 +9,7 @@
|
||||
|
||||
- [Home] Remove 'tags' filter from the filter selector since tags have their own selector (PR [#5121](https://github.com/vatesfr/xen-orchestra/pull/5121))
|
||||
- [Backup/New] Add "XOA Proxy" to the excluded tags by default (PR [#5128](https://github.com/vatesfr/xen-orchestra/pull/5128))
|
||||
- [Backup/overview] Don't open backup job edition in a new tab (PR [#5130](https://github.com/vatesfr/xen-orchestra/pull/5130))
|
||||
|
||||
### Bug fixes
|
||||
|
||||
|
@ -342,7 +342,8 @@ class JobsTable extends React.Component {
|
||||
icon: 'preview',
|
||||
},
|
||||
{
|
||||
handler: (job, { goToNewTab }) => goToNewTab(`/backup/${job.id}/edit`),
|
||||
handler: (job, { goTo, goToNewTab, main }) =>
|
||||
(main ? goTo : goToNewTab)(`/backup/${job.id}/edit`),
|
||||
label: _('formEdit'),
|
||||
icon: 'edit',
|
||||
level: 'primary',
|
||||
|
Loading…
Reference in New Issue
Block a user