Effects targeting calculations by tag now work in the engine and actions

This commit is contained in:
Stefan Zermatten
2022-02-15 15:59:41 +02:00
parent e0f621cc44
commit 378da71f5d
19 changed files with 454 additions and 98 deletions

View File

@@ -12,7 +12,7 @@
{{ model.value }}
</template>
</text-field>
<calculation-error-list :errors="model.errors" />
<calculation-error-list :errors="errorList" />
</div>
</template>
@@ -29,6 +29,15 @@ export default {
default: () => ({}),
},
},
computed: {
errorList(){
if (this.model.parseError){
return [this.model.parseError, ...this.model.errors];
} else {
return this.model.errors;
}
}
}
}
</script>