fix(xo-web/SR): fix "VDIs to coalesce" in SR advanced tab (#6429)
See https://xcp-ng.org/forum/topic/6334/coalesce-not-showing-anymore/3
Introduced by a9c1239149
This commit is contained in:
parent
ce78d22bb8
commit
f1ab62524c
@ -20,6 +20,7 @@
|
|||||||
- [Backup] Fix `Lock file is already being held` error when deleting a VM backup while the VM is currently being backed up
|
- [Backup] Fix `Lock file is already being held` error when deleting a VM backup while the VM is currently being backed up
|
||||||
- [Tasks] Fix the pool filter that did not display tasks even if they existed (PR [#6424](https://github.com/vatesfr/xen-orchestra/pull/6424))
|
- [Tasks] Fix the pool filter that did not display tasks even if they existed (PR [#6424](https://github.com/vatesfr/xen-orchestra/pull/6424))
|
||||||
- [Tasks] Fix tasks being displayed for all users (PR [#6422](https://github.com/vatesfr/xen-orchestra/pull/6422))
|
- [Tasks] Fix tasks being displayed for all users (PR [#6422](https://github.com/vatesfr/xen-orchestra/pull/6422))
|
||||||
|
- [Storage/advanced] Fix the display of VDI to coalesce [#6334](https://xcp-ng.org/forum/topic/6334/coalesce-not-showing-anymore) (PR [#6429](https://github.com/vatesfr/xen-orchestra/pull/6429))
|
||||||
|
|
||||||
### Packages to release
|
### Packages to release
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ const UnhealthyVdiChains = flowRight(
|
|||||||
chains: createSrUnhealthyVdiChainsLengthSubscription(props.sr),
|
chains: createSrUnhealthyVdiChainsLengthSubscription(props.sr),
|
||||||
})),
|
})),
|
||||||
connectStore(() => ({
|
connectStore(() => ({
|
||||||
vdis: createGetObjectsOfType('VDI').pick(createSelector((_, props) => props.chains, keys)),
|
vdis: createGetObjectsOfType('VDI').pick(createSelector((_, props) => props.chains?.unhealthyVdis, keys)),
|
||||||
}))
|
}))
|
||||||
)(({ chains: { unhealthyVdis } = {}, vdis }) =>
|
)(({ chains: { unhealthyVdis } = {}, vdis }) =>
|
||||||
isEmpty(vdis) ? null : (
|
isEmpty(vdis) ? null : (
|
||||||
|
Loading…
Reference in New Issue
Block a user