From 329e97e6811cecd06a25ed86cee2a791081dfd57 Mon Sep 17 00:00:00 2001 From: tecc Date: Wed, 28 Sep 2022 00:19:06 +0200 Subject: [PATCH] fix(dev): Module load issues with syntax js: I can't wait until I'm done with the TypeScript conversion. It's just gonna save so much time because you don't have to worry about syntax not being supported or stuff like that. --- routes/profileEditor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/profileEditor.vue b/routes/profileEditor.vue index fdb41396f..afa6f6555 100644 --- a/routes/profileEditor.vue +++ b/routes/profileEditor.vue @@ -262,7 +262,7 @@ function coerceWords(words) { for (let i = 0; i < 4; i++) { - words[i] ??= { + words[i] = words[i] ? words[i] : { header: null, values: [] }