diff --git a/apps/app/components/project/issues/create-update-issue-modal/index.tsx b/apps/app/components/project/issues/create-update-issue-modal/index.tsx index a527cc588..275a098bc 100644 --- a/apps/app/components/project/issues/create-update-issue-modal/index.tsx +++ b/apps/app/components/project/issues/create-update-issue-modal/index.tsx @@ -1,7 +1,8 @@ import React, { useEffect, useState } from "react"; // next -import { useRouter } from "next/router"; import dynamic from "next/dynamic"; +import Link from "next/link"; +import { useRouter } from "next/router"; // swr import { mutate } from "swr"; // react hook form @@ -244,8 +245,6 @@ const CreateUpdateIssuesModal: React.FC = ({ return () => setMostSimilarIssue(undefined); }, []); - // console.log(watch("parent")); - return ( <> {activeProject && ( @@ -323,27 +322,30 @@ const CreateUpdateIssuesModal: React.FC = ({ {mostSimilarIssue && (

- Did you mean{" "} - - ? + + Did you mean + + { + issues?.results.find((i) => i.id === mostSimilarIssue) + ?.project_detail.identifier + } + - + { + issues?.results.find((i) => i.id === mostSimilarIssue) + ?.sequence_id + } + :{" "} + { + issues?.results.find((i) => i.id === mostSimilarIssue) + ?.name + }{" "} + + ? + + {" "}