fix: delete issue mutation & toast (#3079)

* fix: delete issue mutation

* fix: toast on delete issue

* fix: activity to issue detail redirection
This commit is contained in:
Lakhan Baheti 2023-12-11 22:24:41 +05:30 committed by GitHub
parent 472a5d8047
commit ae2e1a4b64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 37 additions and 24 deletions

View file

@ -100,7 +100,9 @@ const ProfileActivityPage: NextPageWithLayout = () => {
activityItem.field !== "estimate" ? (
<span className="text-custom-text-200">
created{" "}
<Link href={`/${workspaceSlug}/projects/${activityItem.project}/issues/${activityItem.issue}`}>
<Link
href={`/${activityItem.workspace_detail.slug}/projects/${activityItem.project}/issues/${activityItem.issue}`}
>
<span className="inline-flex items-center hover:underline">
this issue. <ExternalLinkIcon className="ml-1 h-3.5 w-3.5" />
</span>