mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-25 22:19:28 -04:00
(lint) fix
This commit is contained in:
parent
90bcd26337
commit
17908029ab
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user