mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-11-22 00:27:38 +08:00
add lock icon in VM list page
This commit is contained in:
1 parent
d06f0ec989
commit
6ce99fad1f
5 files changed
+54
-15
No files matched your search
+1
-4
@@ -63,10 +63,7 @@ export default {
|
||||
|
||||
imageName() {
|
||||
const imageList = this.$store.getters['harvester/all'](HCI.IMAGE) || [];
|
||||
|
||||
const image = imageList.find( (I) => {
|
||||
return this.value.rootImageId === I.id;
|
||||
});
|
||||
const image = imageList.find( I => this.value.rootImageId === I.id);
|
||||
|
||||
return image?.spec?.displayName || 'N/A';
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user