From 1829eab4bc1a38ce097416588200d20917a4d0ff Mon Sep 17 00:00:00 2001 From: Eunseo Sim <55528304+simeunseo@users.noreply.github.com> Date: Thu, 5 Dec 2024 18:10:53 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20summary=EA=B0=80=20=EC=A1=B4=EC=9E=AC?= =?UTF-8?q?=ED=95=A0=20=EB=95=8C=EB=A7=8C=20AI=20=EC=9A=94=EC=95=BD=20?= =?UTF-8?q?=EB=B2=84=ED=8A=BC=20=EB=B3=B4=EC=9D=B4=EA=B2=8C=20=ED=95=98?= =?UTF-8?q?=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/dashboard/apply/TicleInfoCard.tsx | 4 +++- apps/web/src/components/dashboard/apply/index.tsx | 1 + .../src/components/dashboard/open/TicleInfoCard.tsx | 12 ++++++++++-- apps/web/src/components/dashboard/open/index.tsx | 1 + 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/apps/web/src/components/dashboard/apply/TicleInfoCard.tsx b/apps/web/src/components/dashboard/apply/TicleInfoCard.tsx index 7371fe80..97fc140b 100644 --- a/apps/web/src/components/dashboard/apply/TicleInfoCard.tsx +++ b/apps/web/src/components/dashboard/apply/TicleInfoCard.tsx @@ -15,6 +15,7 @@ interface TicleInfoCardProps { startTime: string; endTime: string; status: 'closed' | 'open' | 'inProgress'; + isSummaryExist: boolean; } function TicleInfoCard({ @@ -24,6 +25,7 @@ function TicleInfoCard({ startTime, endTime, status, + isSummaryExist, }: TicleInfoCardProps) { const { isOpen, onOpen, onClose } = useModal(); const { dateStr, timeRangeStr } = formatDateTimeRange(startTime, endTime); @@ -59,7 +61,7 @@ function TicleInfoCard({
- {status === 'closed' && ( + {status === 'closed' && isSummaryExist && (
- {status === 'closed' && ( + {status === 'closed' && isSummaryExist && (