Skip to content

Commit

Permalink
Update packages/xo-web/src/xo-app/sr/tab-disks.js
Browse files Browse the repository at this point in the history
Co-authored-by: Mathieu <70369997+MathieuRA@users.noreply.github.com>
  • Loading branch information
Pizzosaure and MathieuRA committed Feb 26, 2024
1 parent 4379383 commit b4bfea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/xo-web/src/xo-app/sr/tab-disks.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const COLUMNS = [
})
})(({ item: vdi, vbds, vms, userData: { vmsSnapshotsBySuspendVdi } }) => {
const vmSnapshot = vmsSnapshotsBySuspendVdi[vdi.uuid]?.[0]
if (vmSnapshot === undefined) {
if (isEmpty(vms) && vmSnapshot === undefined) {
return null
}

Expand Down

0 comments on commit b4bfea3

Please sign in to comment.