feat: disable vm images (#376)

Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com>
This commit is contained in:
Yiya Chen
2025-07-08 15:23:32 +08:00
committed by GitHub
parent 17dd46cee9
commit 85a06feb91
5 changed files with 40 additions and 25 deletions
@@ -105,8 +105,9 @@ export default {
})
.sort((a, b) => (a.creationTimestamp > b.creationTimestamp ? -1 : 1))
.map((image) => ({
label: this.imageOptionLabel(image),
value: image.id,
label: this.imageOptionLabel(image),
value: image.id,
disabled: image.isImportedImage
}));
},