pass showYaml prop to prevent double generate secret (#243) (#244)

Signed-off-by: Andy Lee <andy.lee@suse.com>
(cherry picked from commit daa6d6942b)

Co-authored-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
mergify[bot]
2025-04-15 16:08:09 +08:00
committed by GitHub
co-authored by Andy Lee
parent cd6ea6e402
commit 9fac43d5e5
2 changed files with 5 additions and 2 deletions
@@ -485,6 +485,7 @@ export default {
},
generateYaml() {
this.showYaml = this?.$refs?.vmCruResource?.showYaml || false;
this.parseVM();
const out = saferDump(this.value);
@@ -498,6 +499,7 @@ export default {
<CruResource
v-if="spec"
id="vm"
ref="vmCruResource"
:done-route="doneRoute"
:resource="value"
:cancel-event="true"