fix: remove issue link activity (#1644)

This commit is contained in:
Aaryan Khandelwal 2023-07-24 13:57:23 +05:30 committed by GitHub
parent 29b04bb3ef
commit 8a2cc6f919
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -210,7 +210,22 @@ const activityDetails: {
to the issue.
</>
);
else return "removed a link.";
else
return (
<>
removed this{" "}
<a
href={`${activity.old_value}`}
target="_blank"
rel="noopener noreferrer"
className="font-medium text-custom-text-100 inline-flex items-center gap-1 hover:underline"
>
link
<Icon iconName="launch" className="!text-xs" />
</a>{" "}
from the issue.
</>
);
},
icon: <Icon iconName="link" className="!text-sm" aria-hidden="true" />,
},