mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-05-14 15:01:44 +00:00
refactor: enable edit as yaml in VM image page (#843)
Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
parent
67bb6dfbd5
commit
8f65915bad
@ -39,9 +39,6 @@ function isReady() {
|
|||||||
export default class HciVmImage extends HarvesterResource {
|
export default class HciVmImage extends HarvesterResource {
|
||||||
get availableActions() {
|
get availableActions() {
|
||||||
let out = super._availableActions;
|
let out = super._availableActions;
|
||||||
const toFilter = ['goToEditYaml'];
|
|
||||||
|
|
||||||
out = out.filter( (A) => !toFilter.includes(A.action));
|
|
||||||
|
|
||||||
// show `Clone` only when imageSource is `download`
|
// show `Clone` only when imageSource is `download`
|
||||||
if (this.imageSource !== 'download') {
|
if (this.imageSource !== 'download') {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user