diff --git a/apps/app/components/issues/sidebar.tsx b/apps/app/components/issues/sidebar.tsx index c1cf3f09b..98e808aee 100644 --- a/apps/app/components/issues/sidebar.tsx +++ b/apps/app/components/issues/sidebar.tsx @@ -31,7 +31,7 @@ import { SidebarLabelSelect, } from "components/issues"; // ui -import { CustomDatePicker } from "components/ui"; +import { CustomDatePicker, Icon } from "components/ui"; // icons import { LinkIcon, @@ -236,6 +236,21 @@ export const IssueDetailsSidebar: React.FC = ({ {issueDetail?.project_detail?.identifier}-{issueDetail?.sequence_id}
+ {issueDetail?.created_by !== user?.id && + !issueDetail?.assignees.includes(user?.id ?? "") && + (fieldsToShow.includes("all") || fieldsToShow.includes("link")) && ( + + )} {(fieldsToShow.includes("all") || fieldsToShow.includes("link")) && ( - ))} + {notificationTabs.map((tab) => + tab.value === "created" ? ( + isMember || isOwner ? ( + + ) : null + ) : ( + + ) + )}
)}