π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
[WEB-3866] fix: work item attachment activity #7062
Anmol Singh Bhatia9c9952a82319
diff --git a/web/core/components/core/activity.tsx b/web/core/components/core/activity.tsxindex 2186977957..3febacd2d0 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{" "}- <a- href={`${activity.new_value}`}- target="_blank"- rel="noopener noreferrer"- className="inline-flex items-center gap-1 font-medium text-custom-text-100 hover:underline"- >- attachment- </a>+ 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.tsxindex 2e827dd021..3ba87df9cc 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<TIssueAttachmentActivity> = observer((pends={ends}><>- {activity.verb === "created" ? `uploaded a new ` : `removed an attachment`}- {activity.verb === "created" && (- <a- href={`${activity.new_value}`}- target="_blank"- rel="noopener noreferrer"- className="inline-flex items-center gap-1 font-medium text-custom-text-100 hover:underline"- >- attachment- </a>- )}+ {activity.verb === "created" ? `uploaded a new attachment` : `removed an attachment`}{showIssue && (activity.verb === "created" ? ` to ` : ` from `)}{showIssue && <IssueLink activityId={activityId} />}.</>