Effects targeting calculations by tag now work in the engine and actions
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user