diff --git a/src/plugins/condition/components/ConditionEdit.vue b/src/plugins/condition/components/ConditionEdit.vue index 5f9f7443c6..0b3e1bc0df 100644 --- a/src/plugins/condition/components/ConditionEdit.vue +++ b/src/plugins/condition/components/ConditionEdit.vue @@ -47,8 +47,9 @@
  • - +
  • @@ -82,6 +83,7 @@ export default { mounted() { }, updated() { + console.log('updated conditionEdit'); this.updateCurrentCondition(); this.persist() }, diff --git a/src/plugins/condition/components/ConditionSet.vue b/src/plugins/condition/components/ConditionSet.vue index c4c022bb1a..f027ec669a 100644 --- a/src/plugins/condition/components/ConditionSet.vue +++ b/src/plugins/condition/components/ConditionSet.vue @@ -2,7 +2,7 @@
    - + { - if (condition.isCurrent) { - currentConditionIndex = index; - } - }); - return currentConditionIndex; + conditionCollection } } }; diff --git a/src/plugins/condition/components/CurrentOutput.vue b/src/plugins/condition/components/CurrentOutput.vue index 94cb947347..ae3153d278 100644 --- a/src/plugins/condition/components/CurrentOutput.vue +++ b/src/plugins/condition/components/CurrentOutput.vue @@ -12,7 +12,7 @@ class="c-cs__ui_content" >
    - {{ currentOutput }} + {{ conditionCollection[currentConditionIndex].output }}
    @@ -20,21 +20,33 @@