|
|
|
@@ -78,11 +78,11 @@ const ConditionValue = ({ |
|
|
|
<div className='flex h-6 items-center rounded-md bg-workflow-block-parma-bg px-1'> |
|
|
|
{!isEnvVar && !isChatVar && <Variable02 className={cn('mr-1 h-3.5 w-3.5 shrink-0 text-text-accent', isException && 'text-text-warning')} />} |
|
|
|
{isEnvVar && <Env className='mr-1 h-3.5 w-3.5 shrink-0 text-util-colors-violet-violet-600' />} |
|
|
|
{isChatVar && <BubbleX className='h-3.5 w-3.5 text-util-colors-teal-teal-700' />} |
|
|
|
{isChatVar && <BubbleX className='h-3.5 w-3.5 shrink-0 text-util-colors-teal-teal-700' />} |
|
|
|
|
|
|
|
<div |
|
|
|
className={cn( |
|
|
|
'ml-0.5 shrink-0 truncate text-xs font-medium text-text-accent', |
|
|
|
'ml-0.5 shrink-[2] truncate text-xs font-medium text-text-accent', |
|
|
|
!notHasValue && 'max-w-[70px]', |
|
|
|
isException && 'text-text-warning', |
|
|
|
)} |
|
|
|
@@ -98,7 +98,7 @@ const ConditionValue = ({ |
|
|
|
</div> |
|
|
|
{ |
|
|
|
!notHasValue && ( |
|
|
|
<div className='truncate text-xs text-text-secondary' title={formatValue}>{isSelect ? selectName : formatValue}</div> |
|
|
|
<div className='shrink-[3] truncate text-xs text-text-secondary' title={formatValue}>{isSelect ? selectName : formatValue}</div> |
|
|
|
) |
|
|
|
} |
|
|
|
</div> |