Adds missing updated method

Adds definition property to CurrentOutput
This commit is contained in:
Joshi 2020-01-22 13:45:32 -08:00
parent e88ead30dc
commit cfd9730055
2 changed files with 4 additions and 1 deletions

View File

@ -272,6 +272,9 @@ export default {
this.condition.definition.criteria[0].input = [ev.target.value];
this.persist();
//find the criterion being updated and set the input property
},
updateCurrentCondition() {
this.$emit('update-current-condition', this.conditionIdentifier);
}
}
}

View File

@ -14,7 +14,7 @@
class="c-cs__ui_content"
>
<div>
<span class="current-output">{{ condition.output }}</span>
<span class="current-output">{{ condition.definition.output }}</span>
</div>
</div>
</section>