fix(xo-web/vm/advanced): fix 'an error has occurred' (#5604)
Fixes #5592
This commit is contained in:
parent
c82cee25a5
commit
9271eb61ac
@ -13,6 +13,8 @@
|
||||
|
||||
> Users must be able to say: “I had this issue, happy to know it's fixed”
|
||||
|
||||
- [VM/advanced] Fix `an error has occurred` in `Misc` section [#5592](https://github.com/vatesfr/xen-orchestra/issues/5592) (PR [#5604](https://github.com/vatesfr/xen-orchestra/pull/5604))
|
||||
|
||||
### Packages to release
|
||||
|
||||
> Packages will be released in the order they are here, therefore, they should
|
||||
@ -32,3 +34,4 @@
|
||||
|
||||
- @xen-orchestra/backups minor
|
||||
- xo-server minor
|
||||
- xo-web patch
|
@ -332,10 +332,12 @@ const Acls = decorate([
|
||||
if (users === undefined || groups === undefined) {
|
||||
return []
|
||||
}
|
||||
return rawAcls.map(({ subject, ...acl }) => ({
|
||||
...acl,
|
||||
subject: defined(users[subject], groups[subject]),
|
||||
}))
|
||||
return rawAcls
|
||||
.map(({ subject, ...acl }) => ({
|
||||
...acl,
|
||||
subject: defined(users[subject], groups[subject]),
|
||||
}))
|
||||
.filter(({ subject }) => subject !== undefined)
|
||||
},
|
||||
},
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user