260930_01_ENH: 달력 다이얼로그에서 표기할 내용이 없어도 달력은 표기 되도록 안내문 위치를 상단 중앙으로 조정
This commit is contained in:
@@ -232,6 +232,11 @@ export function AssignCalendarDialog({
|
|||||||
<ChevronRight className="h-4 w-4" />
|
<ChevronRight className="h-4 w-4" />
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</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>
|
<KriMultiSelect<UserFull>
|
||||||
items={reviewers}
|
items={reviewers}
|
||||||
value={selectedReviewerIds}
|
value={selectedReviewerIds}
|
||||||
@@ -243,12 +248,7 @@ export function AssignCalendarDialog({
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{selectedPerformanceIds.size === 0 ? (
|
<TooltipProvider delayDuration={200}>
|
||||||
<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}>
|
|
||||||
<div className="flex min-h-0 flex-1 flex-col overflow-y-auto">
|
<div className="flex min-h-0 flex-1 flex-col overflow-y-auto">
|
||||||
<div className="flex shrink-0">
|
<div className="flex shrink-0">
|
||||||
{WEEKDAY_LABELS.map((label, index) => (
|
{WEEKDAY_LABELS.map((label, index) => (
|
||||||
@@ -319,7 +319,6 @@ export function AssignCalendarDialog({
|
|||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</TooltipProvider>
|
</TooltipProvider>
|
||||||
)}
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{detailPerformance && (
|
{detailPerformance && (
|
||||||
|
|||||||
Reference in New Issue
Block a user