fix: snapshot/backup/volume attach VM name (#918)

Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
Andy Lee
2026-06-08 16:49:09 +08:00
committed by GitHub
parent d2db23d69a
commit b18aebbbd4
3 changed files with 16 additions and 8 deletions
@@ -235,6 +235,10 @@ export default class HciPv extends HarvesterResource {
return allVMs.find(findAttachVM);
}
get attachVMName() {
return this.attachVM?.nameDisplay || this.attachVM?.metadata?.name || '';
}
get isAvailable() {
const unAvailable = ['Resizing', 'Not Ready'];