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 && }.