mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-25 02:09:05 +01:00
(fix) ロケールが変更されてもAsideNavが更新されない
This commit is contained in:
parent
60f525c190
commit
e2a753bef5
@ -9,7 +9,7 @@ useHead({
|
||||
});
|
||||
|
||||
const { locale } = useI18n();
|
||||
const { data: navigation } = await useAsyncData('navigation', () => fetchContentNavigation(queryContent(`/${locale.value}/docs/`)));
|
||||
const { data: navigation } = await useAsyncData(`navigation_${locale.value}`, () => fetchContentNavigation(queryContent(`/${locale.value}/docs/`)));
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
Loading…
Reference in New Issue
Block a user