mirror of
https://github.com/makeplane/plane.git
synced 2026-06-13 19:19:54 +00:00
fix: ensure quick add functionality correctly awaits promise resolution and streamline role tracking in workspace creation
This commit is contained in:
@@ -106,7 +106,6 @@ export const CreateProjectForm = observer(function CreateProjectForm(props: TCre
|
||||
if (currentUser && currentWorkspace && res) {
|
||||
const role = getWorkspaceRoleByWorkspaceSlug(currentWorkspace.slug);
|
||||
trackProjectCreated({ id: res.id, created_at: res.created_at ?? "" }, currentWorkspace, currentUser, role);
|
||||
trackProjectCreated({ id: res.id, created_at: res.created_at ?? "" }, currentWorkspace, currentUser, role);
|
||||
}
|
||||
setToast({
|
||||
type: TOAST_TYPE.SUCCESS,
|
||||
|
||||
Reference in New Issue
Block a user