aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/src/components/Check.vue
diff options
context:
space:
mode:
Diffstat (limited to 'apps/workflowengine/src/components/Check.vue')
-rw-r--r--apps/workflowengine/src/components/Check.vue20
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/workflowengine/src/components/Check.vue b/apps/workflowengine/src/components/Check.vue
index a553e1cf2ce..e77b9a0646f 100644
--- a/apps/workflowengine/src/components/Check.vue
+++ b/apps/workflowengine/src/components/Check.vue
@@ -51,20 +51,20 @@ export default {
components: {
ActionButton,
Actions,
- Multiselect
+ Multiselect,
},
directives: {
- ClickOutside
+ ClickOutside,
},
props: {
check: {
type: Object,
- required: true
+ required: true,
},
rule: {
type: Object,
- required: true
- }
+ required: true,
+ },
},
data() {
return {
@@ -72,7 +72,7 @@ export default {
currentOption: null,
currentOperator: null,
options: [],
- valid: true
+ valid: true,
}
},
computed: {
@@ -92,12 +92,12 @@ export default {
return this.currentOption.placeholder(this.check)
}
return ''
- }
+ },
},
watch: {
'check.operator': function() {
this.validate()
- }
+ },
},
mounted() {
this.options = Object.values(this.checks)
@@ -127,8 +127,8 @@ export default {
this.check.invalid = !this.validate()
this.$emit('update', this.check)
- }
- }
+ },
+ },
}
</script>