[WIKI-574] fix: disable copy comment link option for intake work item #7707
This commit is contained in:
parent
28d368d502
commit
292264ba96
3 changed files with 5 additions and 11 deletions
|
|
@ -18,15 +18,6 @@ type TDeDupeIssuePopoverRootProps = {
|
|||
};
|
||||
|
||||
export const DeDupeIssuePopoverRoot: FC<TDeDupeIssuePopoverRootProps> = observer((props) => {
|
||||
const {
|
||||
workspaceSlug,
|
||||
projectId,
|
||||
rootIssueId,
|
||||
issues,
|
||||
issueOperations,
|
||||
disabled = false,
|
||||
renderDeDupeActionModals = true,
|
||||
isIntakeIssue = false,
|
||||
} = props;
|
||||
const {} = props;
|
||||
return <></>;
|
||||
});
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ import { IssueActivityLoader } from "./loader";
|
|||
type TIssueActivityCommentRoot = {
|
||||
workspaceSlug: string;
|
||||
projectId: string;
|
||||
isIntakeIssue: boolean;
|
||||
issueId: string;
|
||||
selectedFilters: TActivityFilters[];
|
||||
activityOperations: TCommentsOperations;
|
||||
|
|
@ -28,6 +29,7 @@ type TIssueActivityCommentRoot = {
|
|||
export const IssueActivityCommentRoot: FC<TIssueActivityCommentRoot> = observer((props) => {
|
||||
const {
|
||||
workspaceSlug,
|
||||
isIntakeIssue,
|
||||
issueId,
|
||||
selectedFilters,
|
||||
activityOperations,
|
||||
|
|
@ -62,7 +64,7 @@ export const IssueActivityCommentRoot: FC<TIssueActivityCommentRoot> = observer(
|
|||
activityOperations={activityOperations}
|
||||
ends={index === 0 ? "top" : index === filteredActivityAndComments.length - 1 ? "bottom" : undefined}
|
||||
showAccessSpecifier={!!showAccessSpecifier}
|
||||
showCopyLinkOption
|
||||
showCopyLinkOption={!isIntakeIssue}
|
||||
disabled={disabled}
|
||||
projectId={projectId}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -130,6 +130,7 @@ export const IssueActivity: FC<TIssueActivity> = observer((props) => {
|
|||
<IssueActivityCommentRoot
|
||||
projectId={projectId}
|
||||
workspaceSlug={workspaceSlug}
|
||||
isIntakeIssue={isIntakeIssue}
|
||||
issueId={issueId}
|
||||
selectedFilters={selectedFilters || defaultActivityFilters}
|
||||
activityOperations={activityOperations}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue