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

Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
Andy Lee authored and GitHub committed 2026-06-08 16:49:09 +08:00
1 parent d2db23d69a
commit b18aebbbd4
3 files changed
+16 -8

No files matched your search

@@ -31,6 +31,10 @@ export default {
to() {
return this.vm?.detailLocation;
},
attachVMName() {
return this.vm?.nameDisplay || this.vm?.metadata?.name || this.value;
}
}
};
</script>
@@ -40,10 +44,10 @@ export default {
v-if="to"
:to="to"
>
{{ value }}
{{ attachVMName }}
</router-link>
<span v-else>
{{ value }}
{{ attachVMName }}
</span>
</template>