mirror of
https://github.com/makeplane/plane.git
synced 2026-02-05 05:28:56 -06:00
fix: intake exception error (#5810)
This commit is contained in:
committed by
GitHub
parent
286ab7f650
commit
3acc9ec133
@@ -64,7 +64,7 @@ export const InboxContentRoot: FC<TInboxContentRoot> = 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;
|
||||
|
||||
Reference in New Issue
Block a user