From 8f65915bad7e9d679fcd3a90f50320ac30ed5b96 Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Sun, 3 May 2026 23:05:36 +0800 Subject: [PATCH] refactor: enable edit as yaml in VM image page (#843) Signed-off-by: Andy Lee --- pkg/harvester/models/harvesterhci.io.virtualmachineimage.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/harvester/models/harvesterhci.io.virtualmachineimage.js b/pkg/harvester/models/harvesterhci.io.virtualmachineimage.js index 7414af70..9d3ee7c9 100644 --- a/pkg/harvester/models/harvesterhci.io.virtualmachineimage.js +++ b/pkg/harvester/models/harvesterhci.io.virtualmachineimage.js @@ -39,9 +39,6 @@ function isReady() { export default class HciVmImage extends HarvesterResource { get availableActions() { let out = super._availableActions; - const toFilter = ['goToEditYaml']; - - out = out.filter( (A) => !toFilter.includes(A.action)); // show `Clone` only when imageSource is `download` if (this.imageSource !== 'download') {