aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/src/components/Check.vue
diff options
context:
space:
mode:
authorLouis <6653109+artonge@users.noreply.github.com>2021-07-22 16:07:43 +0200
committerGitHub <noreply@github.com>2021-07-22 16:07:43 +0200
commit4301267373ed6bb215a0f193ffacbc92f9781255 (patch)
treef0d20ac869fb88aa93f5c118118bd51041fbaba5 /apps/workflowengine/src/components/Check.vue
parentf14b8aa34bfb9f7af7b23cfecc09e2fb8f604c1b (diff)
parent717636fd2815bdd49599af059965a8202b1582aa (diff)
downloadnextcloud-server-4301267373ed6bb215a0f193ffacbc92f9781255.tar.gz
nextcloud-server-4301267373ed6bb215a0f193ffacbc92f9781255.zip
Merge pull request #28115 from nextcloud/feat/npm7
Migrate to npm 7
Diffstat (limited to 'apps/workflowengine/src/components/Check.vue')
-rw-r--r--apps/workflowengine/src/components/Check.vue3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/workflowengine/src/components/Check.vue b/apps/workflowengine/src/components/Check.vue
index 2ea267878fa..d1c18f9d8a0 100644
--- a/apps/workflowengine/src/components/Check.vue
+++ b/apps/workflowengine/src/components/Check.vue
@@ -125,6 +125,7 @@ export default {
if (this.currentOption && this.currentOption.validate) {
this.valid = !!this.currentOption.validate(this.check)
}
+ // eslint-disable-next-line vue/no-mutating-props
this.check.invalid = !this.valid
this.$emit('validate', this.valid)
},
@@ -133,7 +134,9 @@ export default {
if (this.check.class !== this.currentOption.class || matchingOperator === -1) {
this.currentOperator = this.operators[0]
}
+ // eslint-disable-next-line vue/no-mutating-props
this.check.class = this.currentOption.class
+ // eslint-disable-next-line vue/no-mutating-props
this.check.operator = this.currentOperator.operator
this.validate()