fix(link share): redirect to list view after authenticating
This commit is contained in:
parent
c9a492e4e9
commit
26a2c69bf7
|
@ -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) {
|
||||
|
|
Reference in New Issue