chore: dashboard redirection fix (#2826)

This commit is contained in:
Anmol Singh Bhatia 2023-11-22 13:47:59 +05:30 committed by sriram veeraghanta
parent 666d46de58
commit b106e15268

View File

@ -23,7 +23,10 @@ export const IssuesStats: React.FC<Props> = ({ data }) => {
<h4 className="text-sm">Issues assigned to you</h4>
<h5 className="mt-2 text-2xl font-semibold">
{data ? (
<div className="cursor-pointer" onClick={() => router.push(`/${workspaceSlug}/me/my-issues`)}>
<div
className="cursor-pointer"
onClick={() => router.push(`/${workspaceSlug}/workspace-views/assigned`)}
>
{data.assigned_issues_count}
</div>
) : (