From 12e95003ae83f2f7e88aca160393e1486949fae2 Mon Sep 17 00:00:00 2001 From: caadiq Date: Fri, 9 Jan 2026 21:43:45 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Schedule=20=EC=B9=B4=ED=85=8C=EA=B3=A0?= =?UTF-8?q?=EB=A6=AC=20'=EC=A0=84=EC=B2=B4'=20=EC=B9=B4=EC=9A=B4=ED=8A=B8?= =?UTF-8?q?=EB=A5=BC=20=EC=84=A0=ED=83=9D=EB=90=9C=20=EB=82=A0=EC=A7=9C=20?= =?UTF-8?q?=EA=B8=B0=EC=A4=80=EC=9C=BC=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - categoryCounts.get('total')로 변경하여 선택된 날짜 기준으로 표시 --- frontend/src/pages/pc/Schedule.jsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/frontend/src/pages/pc/Schedule.jsx b/frontend/src/pages/pc/Schedule.jsx index e4aa835..16fa54f 100644 --- a/frontend/src/pages/pc/Schedule.jsx +++ b/frontend/src/pages/pc/Schedule.jsx @@ -636,13 +636,7 @@ function Schedule() { 전체 - {isSearchMode && searchTerm - ? searchResults.length - : schedules.filter(s => { - const scheduleDate = s.date ? s.date.split('T')[0] : ''; - return scheduleDate.startsWith(currentYearMonth); - }).length - } + {categoryCounts.get('total') || 0}