forked from potsda.mn/mobilizon
Extra fixes for the privacy page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
380d7c56a8
commit
df012f5af7
|
@ -109,7 +109,7 @@ export const routes = [
|
||||||
path: "/interact",
|
path: "/interact",
|
||||||
name: RouteName.INTERACT,
|
name: RouteName.INTERACT,
|
||||||
component: (): Promise<EsModuleComponent> =>
|
component: (): Promise<EsModuleComponent> =>
|
||||||
import(/* webpackChunkName: "cookies" */ "@/views/Interact.vue"),
|
import(/* webpackChunkName: "interact" */ "@/views/Interact.vue"),
|
||||||
meta: { requiredAuth: false },
|
meta: { requiredAuth: false },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -97,11 +97,11 @@ import langs from "../../i18n/langs.json";
|
||||||
query: LANGUAGES_CODES,
|
query: LANGUAGES_CODES,
|
||||||
variables() {
|
variables() {
|
||||||
return {
|
return {
|
||||||
codes: this.config.languages,
|
codes: this?.config.languages,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
skip() {
|
skip() {
|
||||||
return !this.config || !this.config.languages;
|
return !this.config || !this.config?.languages;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="container section">
|
<div class="container section">
|
||||||
<h2 class="title">{{ $t("Privacy Policy") }}</h2>
|
<h2 class="title">{{ $t("Privacy Policy") }}</h2>
|
||||||
<div class="content" v-if="config" v-html="config.privacy.bodyHtml" />
|
<div
|
||||||
|
class="content"
|
||||||
|
v-if="config && config.privacy"
|
||||||
|
v-html="config.privacy.bodyHtml"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue