260930_01_ENH: 달력 다이얼로그에서 표기할 내용이 없어도 달력은 표기 되도록 안내문 위치를 상단 중앙으로 조정

This commit is contained in:
2026-09-30 08:54:17 +09:00
parent c090c87b00
commit b932da4b57

View File

@@ -232,6 +232,11 @@ export function AssignCalendarDialog({
<ChevronRight className="h-4 w-4" />
</Button>
</div>
{visiblePerformances.length === 0 && (
<div className="min-w-0 flex-1 truncate text-center text-sm text-muted-foreground">
{selectedPerformanceIds.size === 0 ? "선택된 작품이 없습니다." : "조건에 맞는 배정 일정이 없습니다."}
</div>
)}
<KriMultiSelect<UserFull>
items={reviewers}
value={selectedReviewerIds}
@@ -243,12 +248,7 @@ export function AssignCalendarDialog({
/>
</div>
{selectedPerformanceIds.size === 0 ? (
<div className="flex flex-1 items-center justify-center text-sm text-muted-foreground">선택된 작품이 없습니다.</div>
) : visiblePerformances.length === 0 ? (
<div className="flex flex-1 items-center justify-center text-sm text-muted-foreground">조건에 맞는 배정 일정이 없습니다.</div>
) : (
<TooltipProvider delayDuration={200}>
<TooltipProvider delayDuration={200}>
<div className="flex min-h-0 flex-1 flex-col overflow-y-auto">
<div className="flex shrink-0">
{WEEKDAY_LABELS.map((label, index) => (
@@ -319,7 +319,6 @@ export function AssignCalendarDialog({
))}
</div>
</TooltipProvider>
)}
</section>
{detailPerformance && (