filter golden image volume in hot plug volume modal (#239)

Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
Andy Lee
2025-04-10 13:17:30 +08:00
committed by GitHub
parent 3dc6dda1ca
commit 78234b9e1e
4 changed files with 10 additions and 4 deletions
@@ -111,7 +111,7 @@ export default {
return false;
}
if (pvc.metadata?.annotations?.[HCI_ANNOTATIONS.GOLDEN_IMAGE] === 'true') {
if (pvc.isGoldenImageVolume) {
return false;
}