From 17908029abddbd81d4d4ce2467cbe545cb988808 Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Mon, 29 Jan 2024 20:41:09 +0100 Subject: [PATCH] (lint) fix --- routes/census.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/census.vue b/routes/census.vue index 2c5c9ee9e..f26512c8f 100644 --- a/routes/census.vue +++ b/routes/census.vue @@ -325,9 +325,9 @@ export default { watch: { async q(newValue, oldValue) { if (this.question && this.question.conditionalOn) { - const conditionAnswer = this.answers[this.question.conditionalOn] + const conditionAnswer = this.answers[this.question.conditionalOn]; const conditionFullfilled = Array.isArray(conditionAnswer) - ? conditionAnswer.filter(a => this.question.conditionalValue.includes(a)).length > 0 + ? conditionAnswer.filter((a) => this.question.conditionalValue.includes(a)).length > 0 : conditionAnswer === this.question.conditionalValue; if (!conditionFullfilled) {