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