diff --git a/src/components/designer/modeling/CodeGenerator.vue b/src/components/designer/modeling/CodeGenerator.vue index 82407dcc..49f94c22 100644 --- a/src/components/designer/modeling/CodeGenerator.vue +++ b/src/components/designer/modeling/CodeGenerator.vue @@ -4136,13 +4136,15 @@ jobs: // } if (!set.has(item.code)) { codeBag.push("# "+ item.name + ": \n" + item.code); - if(option.keyword == "si" && item.name.includes("Test.java") && item.template === "https://github.com/msa-ez/topping-unit-test"){ - me.testFileList.push(item) - } - if(option.keyword == "si"){ - me.selectedCodeList[item.name] = item.code - } else { - set.add(item.code); + if(option){ + if(option.keyword == "si" && item.name.includes("Test.java") && item.template === "https://github.com/msa-ez/topping-unit-test"){ + me.testFileList.push(item) + } + if(option.keyword == "si"){ + me.selectedCodeList[item.name] = item.code + } else { + set.add(item.code); + } } } //me.$refs.codeViewer.$refs.collectedCodes = me.gptCodes /// Very BAD diff --git a/src/components/designer/modeling/generators/BMDialoger.vue b/src/components/designer/modeling/generators/BMDialoger.vue index bbab825a..6047b3fc 100644 --- a/src/components/designer/modeling/generators/BMDialoger.vue +++ b/src/components/designer/modeling/generators/BMDialoger.vue @@ -6,13 +6,13 @@
-
-
+ -->
diff --git a/src/components/designer/modeling/generators/CJMDialoger.vue b/src/components/designer/modeling/generators/CJMDialoger.vue index b038a640..e1adb1fd 100644 --- a/src/components/designer/modeling/generators/CJMDialoger.vue +++ b/src/components/designer/modeling/generators/CJMDialoger.vue @@ -28,8 +28,8 @@
- mdi-pencil - mdi-content-save + mdi-pencil + mdi-content-save
@@ -86,7 +86,7 @@ Create Modelmdi-arrow-right -
-
+
--> @@ -166,6 +166,7 @@ scenario: null, }, generator: null, + personaEditMode: false, } }, methods: { @@ -276,9 +277,11 @@ }, editPersona(persona){ this.selectedEditPersona = persona.scenario + this.personaEditMode = true; }, savePersona(){ this.selectedEditPersona = null; + this.personaEditMode = false; } } } diff --git a/src/components/designer/modeling/generators/ESDialoger.vue b/src/components/designer/modeling/generators/ESDialoger.vue index eae862b6..3fe00449 100644 --- a/src/components/designer/modeling/generators/ESDialoger.vue +++ b/src/components/designer/modeling/generators/ESDialoger.vue @@ -32,6 +32,9 @@ {{$t('autoModeling.explanation')}} + + Stop generating + mdi-refreshTry again Create Modelmdi-arrow-right - - Stop generating -