diff --git a/js/src/router/index.ts b/js/src/router/index.ts index 9853a7a3..6336e886 100644 --- a/js/src/router/index.ts +++ b/js/src/router/index.ts @@ -109,7 +109,7 @@ export const routes = [ path: "/interact", name: RouteName.INTERACT, component: (): Promise => - import(/* webpackChunkName: "cookies" */ "@/views/Interact.vue"), + import(/* webpackChunkName: "interact" */ "@/views/Interact.vue"), meta: { requiredAuth: false }, }, { diff --git a/js/src/views/About/AboutInstance.vue b/js/src/views/About/AboutInstance.vue index 120b0dcf..59008934 100644 --- a/js/src/views/About/AboutInstance.vue +++ b/js/src/views/About/AboutInstance.vue @@ -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; }, }, }, diff --git a/js/src/views/About/Privacy.vue b/js/src/views/About/Privacy.vue index ffb1791f..4de1084c 100644 --- a/js/src/views/About/Privacy.vue +++ b/js/src/views/About/Privacy.vue @@ -1,7 +1,11 @@