fix(xo-web/new/sr): no redirection if the SR creation failed or canceled (#3853)
Fixes #3843
This commit is contained in:
parent
76f9017482
commit
1ed2a6b620
@ -6,6 +6,8 @@
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- [New SR] No redirection if the SR creation failed or canceled [#3843](https://github.com/vatesfr/xen-orchestra/issues/3843) (PR [#3853](https://github.com/vatesfr/xen-orchestra/pull/3853))
|
||||
|
||||
### Released packages
|
||||
|
||||
- xo-server v5.34.0
|
||||
|
@ -212,7 +212,7 @@ const typeGroups = {
|
||||
isosr: ['local', 'nfsiso', 'smb'],
|
||||
}
|
||||
|
||||
const getSrPath = id => `/srs/${id}`
|
||||
const getSrPath = id => (id !== undefined ? `/srs/${id}` : undefined)
|
||||
|
||||
// ===================================================================
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user