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

This commit is contained in:
kolaente 2023-03-14 13:43:43 +01:00
parent c9a492e4e9
commit 26a2c69bf7
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
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) {