fix(xo-web/vm/disks): VDI disappears after migration (#5296)
Related to 1116530a6b
This commit is contained in:
parent
4f3d4b06b5
commit
385984b1d8
@ -17,6 +17,7 @@
|
|||||||
- [Backup/S3] Fix secret key edit form [#5233](https://github.com/vatesfr/xen-orchestra/issues/5233) (PR[#5305](https://github.com/vatesfr/xen-orchestra/pull/5305))
|
- [Backup/S3] Fix secret key edit form [#5233](https://github.com/vatesfr/xen-orchestra/issues/5233) (PR[#5305](https://github.com/vatesfr/xen-orchestra/pull/5305))
|
||||||
- [New network] Remove the possibility of creating a network on a bond member interface (PR [#5262](https://github.com/vatesfr/xen-orchestra/pull/5262))
|
- [New network] Remove the possibility of creating a network on a bond member interface (PR [#5262](https://github.com/vatesfr/xen-orchestra/pull/5262))
|
||||||
- [User] Fix custom filters not showing up when selecting a default filter for templates (PR [#5298](https://github.com/vatesfr/xen-orchestra/pull/5298))
|
- [User] Fix custom filters not showing up when selecting a default filter for templates (PR [#5298](https://github.com/vatesfr/xen-orchestra/pull/5298))
|
||||||
|
- [Self/VDI migration] Fix hidden VDI after migration (PR [#5296](https://github.com/vatesfr/xen-orchestra/pull/5296))
|
||||||
|
|
||||||
### Packages to release
|
### Packages to release
|
||||||
|
|
||||||
|
@ -81,7 +81,11 @@ import VmActionBar from './action-bar'
|
|||||||
pool: getPool(state, props),
|
pool: getPool(state, props),
|
||||||
srs: getSrs(state, props),
|
srs: getSrs(state, props),
|
||||||
vbds: getVbds(state, props),
|
vbds: getVbds(state, props),
|
||||||
vdis: getVdis(state, props),
|
// Workaround to get the VDI object when the permissions cache isn't up to date:
|
||||||
|
// when a VDI is created on a VM, the user permissions might be checked on the
|
||||||
|
// VBD *before* it's attached to the VM so the permissions cache will store that
|
||||||
|
// the user doesn't have permissions on the VDI even after it's been attached
|
||||||
|
vdis: getVdis(state, props, true),
|
||||||
vm,
|
vm,
|
||||||
vmTotalDiskSpace: getVmTotalDiskSpace(state, props),
|
vmTotalDiskSpace: getVmTotalDiskSpace(state, props),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user