mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 10:56:52 +08:00
fix: adjust opacity for model selector based on readonly state (#12472)
This commit is contained in:
@@ -36,7 +36,6 @@ const ModelTrigger: FC<ModelTriggerProps> = ({
|
||||
className={classNames(
|
||||
'group flex items-center px-2 h-8 rounded-lg bg-components-input-bg-normal',
|
||||
!readonly && 'hover:bg-components-input-bg-hover cursor-pointer',
|
||||
!!readonly && 'opacity-50',
|
||||
className,
|
||||
open && '!bg-components-input-bg-hover',
|
||||
model.status !== ModelStatusEnum.active && '!bg-[#FFFAEB]',
|
||||
|
||||
Reference in New Issue
Block a user