fix: bug and auth fixes (#1224)
* fix: sign in and invitation page fixes * fix: project and workspace services track event fix * fix: user onboarding complete track event fix * fix: issue track event fix * fix: partial property , issue comment and mark as done issue track event fix * fix: bulk delete , move to cycle or module and issue label track event fix * fix: state , cycle and module track event fix * fix: pages and block track event fix * fix: integration , estimate , importer , analytics and gpt track event fix * fix: view track event fix * fix: build fix * fix: build fix
This commit is contained in:
parent
c127353281
commit
6f2a38ad66
117 changed files with 1319 additions and 494 deletions
|
|
@ -41,10 +41,15 @@ const WorkspaceInvitation: NextPage = () => {
|
|||
const handleAccept = () => {
|
||||
if (!invitationDetail) return;
|
||||
workspaceService
|
||||
.joinWorkspace(invitationDetail.workspace.slug, invitationDetail.id, {
|
||||
accepted: true,
|
||||
email: invitationDetail.email,
|
||||
})
|
||||
.joinWorkspace(
|
||||
invitationDetail.workspace.slug,
|
||||
invitationDetail.id,
|
||||
{
|
||||
accepted: true,
|
||||
email: invitationDetail.email,
|
||||
},
|
||||
user
|
||||
)
|
||||
.then(() => {
|
||||
if (email === user?.email) {
|
||||
router.push("/invitations");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue