fix(link share): redirect to list view after authenticating
This commit is contained in:
parent
af523cfcd7
commit
34ad889d90
@ -85,7 +85,7 @@ function useAuth() {
|
|||||||
|
|
||||||
const view = route.query.view && Object.values(PROJECT_VIEWS).includes(route.query.view as ProjectView)
|
const view = route.query.view && Object.values(PROJECT_VIEWS).includes(route.query.view as ProjectView)
|
||||||
? route.query.view
|
? route.query.view
|
||||||
: 'project'
|
: 'list'
|
||||||
|
|
||||||
router.push({name: `project.${view}`, params: {projectId}})
|
router.push({name: `project.${view}`, params: {projectId}})
|
||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user