feat(#9): Nuxt 4 migration

This commit is contained in:
2025-11-02 18:46:46 +01:00
parent 763b2f7b7f
commit 6d79c710a2
54 changed files with 2904 additions and 1416 deletions

View File

@@ -0,0 +1,8 @@
export default defineNuxtRouteMiddleware((to) => {
const { canWriteApplicationForms } = usePermissions()
if (to.path === '/create' && !canWriteApplicationForms.value) {
return navigateTo('/', { replace: true })
}
})