mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-27 08:14:30 -04:00
fix: Various Nuxt Upgrade Issues (#5545)
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user