fix(link share): redirect to list view after authenticating

This commit is contained in:
kolaente 2023-03-14 13:43:43 +01:00 committed by Gitea
parent af523cfcd7
commit 34ad889d90
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ function useAuth() {
const view = route.query.view && Object.values(PROJECT_VIEWS).includes(route.query.view as ProjectView)
? route.query.view
: 'project'
: 'list'
router.push({name: `project.${view}`, params: {projectId}})
} catch (e: any) {