mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: notification card not redirecting to archive issue detail for archived issue (#1861)
This commit is contained in:
parent
55e2f00ffe
commit
0979acc1a4
@ -53,7 +53,9 @@ export const NotificationCard: React.FC<NotificationCardProps> = (props) => {
|
||||
onClick={() => {
|
||||
markNotificationReadStatus(notification.id);
|
||||
router.push(
|
||||
`/${workspaceSlug}/projects/${notification.project}/issues/${notification.data.issue.id}`
|
||||
`/${workspaceSlug}/projects/${notification.project}/${
|
||||
notification.data.issue_activity.field === "archived_at" ? "archived-issues" : "issues"
|
||||
}/${notification.data.issue.id}`
|
||||
);
|
||||
}}
|
||||
className={`group w-full flex items-center gap-4 p-3 pl-6 relative cursor-pointer ${
|
||||
|
Loading…
Reference in New Issue
Block a user