diff --git a/routes/profileEditor.vue b/routes/profileEditor.vue
index 06432e4f5..fdb41396f 100644
--- a/routes/profileEditor.vue
+++ b/routes/profileEditor.vue
@@ -228,7 +228,7 @@
profile.column {{i + 1}}
-
+
@@ -260,6 +260,16 @@
}
})
+ function coerceWords(words) {
+ for (let i = 0; i < 4; i++) {
+ words[i] ??= {
+ header: null,
+ values: []
+ }
+ }
+ return words;
+ }
+
const buildProfile = (profiles, currentLocale) => {
for (let locale in profiles) {
if (!profiles.hasOwnProperty(locale)) {
@@ -275,7 +285,7 @@
links: profile.links,
flags: profile.flags,
customFlags: profile.customFlags,
- words: profile.words,
+ words: coerceWords(profile.words),
teamName: profile.teamName,
footerName: profile.footerName,
footerAreas: profile.footerAreas,