diff --git a/js/src/views/About/AboutInstance.vue b/js/src/views/About/AboutInstance.vue
index a1b7db04d..86b75262f 100644
--- a/js/src/views/About/AboutInstance.vue
+++ b/js/src/views/About/AboutInstance.vue
@@ -47,7 +47,7 @@
{{ $t("Instance languages") }} |
-
+ |
{{ formattedLanguageList }}
|
@@ -105,7 +105,7 @@ import langs from "../../i18n/langs.json";
};
},
skip() {
- return !this.config.languages;
+ return !this.config || !this.config.languages;
},
},
},
@@ -126,8 +126,11 @@ export default class AboutInstance extends Vue {
}
get formattedLanguageList(): string {
- const list = this.languages.map(({ name }) => name);
- return formatList(list);
+ if (this.languages) {
+ const list = this.languages.map(({ name }) => name);
+ return formatList(list);
+ }
+ return "";
}
// eslint-disable-next-line class-methods-use-this