|
|
@@ -68,6 +68,7 @@ nav a:first-of-type {
|
|
|
<script lang="ts">
|
|
|
import { useFooterLinksStore } from '@/stores/footer-content-pages'
|
|
|
import { useTimelineStore } from '@/stores/timeline'
|
|
|
+ import { useComponentStore } from '@/stores/component'
|
|
|
import {loadDynamicPages} from '@/router'
|
|
|
import { useI18n } from 'vue-i18n'
|
|
|
import { useRoute } from 'vue-router'
|
|
|
@@ -109,6 +110,7 @@ nav a:first-of-type {
|
|
|
this.footerLinksStroe = useFooterLinksStore()
|
|
|
}
|
|
|
useTimelineStore().setLocale(locale)
|
|
|
+ useComponentStore().setLocale(locale)
|
|
|
const oldLink = this.footerLinksStroe.getLinkByLabel(this.route.name)
|
|
|
this.links = await this.footerLinksStroe.getLinks(locale)
|
|
|
const newLink = this.footerLinksStroe.getLinkByLabel(oldLink.localizations[0].Label)
|