diff --git a/src/app/(route)/admin/(with-layout)/notices/page.tsx b/src/app/(route)/admin/(with-layout)/notices/page.tsx index 42ac5808..9a3d4b9b 100644 --- a/src/app/(route)/admin/(with-layout)/notices/page.tsx +++ b/src/app/(route)/admin/(with-layout)/notices/page.tsx @@ -74,6 +74,8 @@ const NoticesListPage = () => { }, }); + const isNoticeTypeSelected = param.noticeType.length > 0; + return (
@@ -119,6 +121,7 @@ const NoticesListPage = () => { endDatePlaceholder="마감일 선택" /> + @@ -131,7 +134,9 @@ const NoticesListPage = () => { - {!data ? ( + {!isNoticeTypeSelected ? ( + + ) : !data ? ( isLoading ? ( ) : ( @@ -162,8 +167,9 @@ const NoticesListPage = () => { )} +
- {data && data.pageInfo.totalElements > 0 && ( + {isNoticeTypeSelected && data && data.pageInfo.totalElements > 0 && (