From 7ca81f360f42341b2941798374160d362507ba26 Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Thu, 22 Jul 2021 13:21:25 +0200 Subject: Fix eslint and update bundles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/workflowengine/src/components/Check.vue | 3 +++ apps/workflowengine/src/components/Event.vue | 2 +- apps/workflowengine/src/components/Rule.vue | 8 +++++++- 3 files changed, 11 insertions(+), 2 deletions(-) (limited to 'apps/workflowengine/src') 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() diff --git a/apps/workflowengine/src/components/Event.vue b/apps/workflowengine/src/components/Event.vue index a00777d25e6..97f24af22f3 100644 --- a/apps/workflowengine/src/components/Event.vue +++ b/apps/workflowengine/src/components/Event.vue @@ -12,7 +12,7 @@ :auto-limit="false" :disabled="allEvents.length <= 1" @input="updateEvent"> -