update Ui

This commit is contained in:
JOSEPH LE 2024-08-07 13:37:35 +07:00
parent a0a740cca3
commit aec80f2e94
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ const LeaveManagement = () => {
<Box style={{display: ld_note === "" || ld_note === null? 'none' : 'block'}}>
<HoverCard width={280} shadow="md" >
<HoverCard.Target>
<Text fz={'sm'}>{ld_note !== null && ld_note !== "" && ld_note.slice(0,25)+"..."}</Text>
<Text fz={'sm'}>{ld_note !== null && ld_note !== "" && ld_note.length > 25 ?ld_note.slice(0,25)+"..." : ld_note}</Text>
</HoverCard.Target>
<HoverCard.Dropdown>
<Textarea size="sm" autosize>