mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
[WEB-3762] improvement: redirect logged in user to the workspace after accepting the invitation (#6869)
This commit is contained in:
@@ -50,7 +50,7 @@ const WorkspaceInvitationPage = observer(() => {
|
||||
})
|
||||
.then(() => {
|
||||
if (email === currentUser?.email) {
|
||||
router.push("/invitations");
|
||||
router.push(`/${invitationDetail.workspace.slug}`);
|
||||
} else {
|
||||
router.push(`/?${searchParams.toString()}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user