refactor: enable edit as yaml in VM image page (#843)

Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
Andy Lee
2026-05-03 23:05:36 +08:00
committed by GitHub
parent 67bb6dfbd5
commit 8f65915bad
@@ -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') {