summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/src/components/Check.vue
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-11-14 22:50:33 +0100
committerJulius Härtl <jus@bitgrid.net>2019-11-26 22:00:02 +0100
commitd0579bfb6d534ba99b8b5cae91364257825dfec7 (patch)
tree2d9daadc859cc35e76453081066a6af3a4d4ef30 /apps/workflowengine/src/components/Check.vue
parent0e87c6fac98d90bdde2fa905356a22b27df969ce (diff)
downloadnextcloud-server-d0579bfb6d534ba99b8b5cae91364257825dfec7.tar.gz
nextcloud-server-d0579bfb6d534ba99b8b5cae91364257825dfec7.zip
Small fixes for workflow frontend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/workflowengine/src/components/Check.vue')
-rw-r--r--apps/workflowengine/src/components/Check.vue5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/workflowengine/src/components/Check.vue b/apps/workflowengine/src/components/Check.vue
index 10828c1dd8a..a553e1cf2ce 100644
--- a/apps/workflowengine/src/components/Check.vue
+++ b/apps/workflowengine/src/components/Check.vue
@@ -124,9 +124,8 @@ export default {
this.check.class = this.currentOption.class
this.check.operator = this.currentOperator.operator
- if (!this.validate()) {
- this.check.invalid = !this.valid
- }
+ this.check.invalid = !this.validate()
+
this.$emit('update', this.check)
}
}