diff --git a/js/src/router/index.ts b/js/src/router/index.ts index 9853a7a3e..6336e886e 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 120b0dcfb..590089348 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 ffb1791f3..4de1084cb 100644 --- a/js/src/views/About/Privacy.vue +++ b/js/src/views/About/Privacy.vue @@ -1,7 +1,11 @@