feat : add Dashboard to sidebar and redirect / to /dashboard
This commit is contained in:
@@ -11,6 +11,6 @@ export default defineNuxtRouteMiddleware(async (to) => {
|
||||
}
|
||||
|
||||
if (auth.isAuthenticated && (isLogin || to.path === '/')) {
|
||||
return navigateTo('/applications')
|
||||
return navigateTo('/dashboard')
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user