From 4335d7b093a10ab599e8ba359ab04be356e7fe34 Mon Sep 17 00:00:00 2001 From: AmirGoodarzi Date: Tue, 29 Apr 2025 23:22:21 +0330 Subject: [PATCH] Link to response form --- .../+component/SurveyFormListItem.tsx | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/pages/survey-form/+component/SurveyFormListItem.tsx b/src/pages/survey-form/+component/SurveyFormListItem.tsx index 7e44198..a515554 100644 --- a/src/pages/survey-form/+component/SurveyFormListItem.tsx +++ b/src/pages/survey-form/+component/SurveyFormListItem.tsx @@ -1,5 +1,6 @@ import { ISurvey } from '@/utils/types'; import surveyVector from '@/assets/images/survey.svg'; +import { Button } from '@/components/ui/button'; type Props = { data: ISurvey; @@ -24,6 +25,30 @@ const SurveyFormListItem = ({ data }: Props) => { +
+ {data.complete ? ( + // + <> + ) : ( + + + + )} +
); };