mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 07:39:41 +02:00
fix: Various Nuxt Upgrade Issues (#5545)
This commit is contained in:
parent
c24d532608
commit
2673834a9f
4 changed files with 16 additions and 11 deletions
|
@ -251,6 +251,12 @@ export default defineNuxtComponent({
|
|||
layout: "admin",
|
||||
});
|
||||
|
||||
// For some reason the layout is not set automatically, so we set it here,
|
||||
// even though it's defined above in the page meta.
|
||||
onMounted(() => {
|
||||
setPageLayout("admin");
|
||||
});
|
||||
|
||||
const { $globals } = useNuxtApp();
|
||||
const i18n = useI18n();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue