Extra fixes for the privacy page

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-03-26 19:27:51 +01:00
parent 380d7c56a8
commit df012f5af7
3 changed files with 8 additions and 4 deletions

View File

@@ -97,11 +97,11 @@ import langs from "../../i18n/langs.json";
query: LANGUAGES_CODES,
variables() {
return {
codes: this.config.languages,
codes: this?.config.languages,
};
},
skip() {
return !this.config || !this.config.languages;
return !this.config || !this.config?.languages;
},
},
},