diff --git a/src/components/dialog/AssignCalendarDialog.tsx b/src/components/dialog/AssignCalendarDialog.tsx index 3b8b057..c27e85f 100644 --- a/src/components/dialog/AssignCalendarDialog.tsx +++ b/src/components/dialog/AssignCalendarDialog.tsx @@ -232,6 +232,11 @@ export function AssignCalendarDialog({ + {visiblePerformances.length === 0 && ( +
+ {selectedPerformanceIds.size === 0 ? "선택된 작품이 없습니다." : "조건에 맞는 배정 일정이 없습니다."} +
+ )} items={reviewers} value={selectedReviewerIds} @@ -243,12 +248,7 @@ export function AssignCalendarDialog({ /> - {selectedPerformanceIds.size === 0 ? ( -
선택된 작품이 없습니다.
- ) : visiblePerformances.length === 0 ? ( -
조건에 맞는 배정 일정이 없습니다.
- ) : ( - +
{WEEKDAY_LABELS.map((label, index) => ( @@ -319,7 +319,6 @@ export function AssignCalendarDialog({ ))}
- )} {detailPerformance && (