add lock icon in VM list page

This commit is contained in:
andy.lee
2024-10-23 17:01:29 +02:00
committed by Francesco Torchia
parent d06f0ec989
commit 6ce99fad1f
5 changed files with 54 additions and 15 deletions
@@ -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';
},