mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-01 03:36:04 +08:00
fix: snapshot/backup/volume attach VM name (#918)
Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
@@ -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'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user