1
0
Fork 0
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:
Michael Genson 2025-06-20 04:42:12 -05:00 committed by GitHub
parent c24d532608
commit 2673834a9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 11 deletions

View file

@ -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();