mirror of
https://github.com/langgenius/dify.git
synced 2026-03-06 16:16:38 +08:00
fix: resolve semantic conflict in TimePicker notClearable logic
This commit is contained in:
@ -222,8 +222,10 @@ const TimePicker = ({
|
||||
<RiCloseCircleFill
|
||||
className={cn(
|
||||
'hidden h-4 w-4 shrink-0 text-text-quaternary',
|
||||
(displayValue || (isOpen && selectedTime)) && 'hover:text-text-secondary group-hover:inline-block',
|
||||
(displayValue || (isOpen && selectedTime)) && !notClearable && 'hover:text-text-secondary group-hover:inline-block',
|
||||
)}
|
||||
role='button'
|
||||
aria-label={t('common.operation.clear')}
|
||||
onClick={handleClear}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user