feat: disable vm images (#376) (#380)

(cherry picked from commit 85a06feb91)

Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com>
Co-authored-by: Yiya Chen <yiya.chen@suse.com>
This commit is contained in:
mergify[bot]
2025-07-08 17:10:14 +08:00
committed by GitHub
co-authored by Yiya Chen
parent 264d65cc6d
commit 8044e74102
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
}));
},