From fed32e338d9ae973660f34b9298589ca02d00a12 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia Date: Fri, 11 Oct 2024 21:46:02 +0530 Subject: [PATCH] fix: intake exception error --- web/core/components/inbox/content/root.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/core/components/inbox/content/root.tsx b/web/core/components/inbox/content/root.tsx index 504b1d593a7..78e682340c6 100644 --- a/web/core/components/inbox/content/root.tsx +++ b/web/core/components/inbox/content/root.tsx @@ -64,7 +64,7 @@ export const InboxContentRoot: FC = observer((props) => { const isEditable = allowPermissions([EUserPermissions.ADMIN], EUserPermissionsLevel.PROJECT) || - inboxIssue.created_by === currentUser?.id; + inboxIssue?.created_by === currentUser?.id; const isGuest = projectPermissionsByWorkspaceSlugAndProjectId(workspaceSlug, projectId) === EUserPermissions.GUEST; const isOwner = inboxIssue?.issue.created_by === currentUser?.id;