From 9c9952a8231925c7446daf77fda6d2b30929b1de Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Sun, 18 May 2025 15:28:00 +0530 Subject: [PATCH] [WEB-3866] fix: work item attachment activity #7062 --- web/core/components/core/activity.tsx | 10 +--------- .../issue-activity/activity/actions/attachment.tsx | 12 +----------- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/web/core/components/core/activity.tsx b/web/core/components/core/activity.tsx index 218697795..3febacd2d 100644 --- a/web/core/components/core/activity.tsx +++ b/web/core/components/core/activity.tsx @@ -196,15 +196,7 @@ const activityDetails: { if (activity.verb === "created") return ( <> - uploaded a new{" "} - - attachment - + uploaded a new attachment {showIssue && ( <> {" "} diff --git a/web/core/components/issues/issue-detail/issue-activity/activity/actions/attachment.tsx b/web/core/components/issues/issue-detail/issue-activity/activity/actions/attachment.tsx index 2e827dd02..3ba87df9c 100644 --- a/web/core/components/issues/issue-detail/issue-activity/activity/actions/attachment.tsx +++ b/web/core/components/issues/issue-detail/issue-activity/activity/actions/attachment.tsx @@ -25,17 +25,7 @@ export const IssueAttachmentActivity: FC = observer((p ends={ends} > <> - {activity.verb === "created" ? `uploaded a new ` : `removed an attachment`} - {activity.verb === "created" && ( - - attachment - - )} + {activity.verb === "created" ? `uploaded a new attachment` : `removed an attachment`} {showIssue && (activity.verb === "created" ? ` to ` : ` from `)} {showIssue && }.