mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-18 02:25:52 +08:00
fix: if show var types
This commit is contained in:
parent
ce6ae5732a
commit
146be41b1d
@ -78,17 +78,12 @@ const VariableTag = ({
|
||||
{variableName}
|
||||
</div>
|
||||
{
|
||||
varType && (
|
||||
!isShort && varType && (
|
||||
<div className='shrink-0 ml-0.5 text-text-tertiary'>{capitalize(varType)}</div>
|
||||
)
|
||||
}
|
||||
{!isValid && <RiErrorWarningFill className='ml-0.5 w-3 h-3 text-[#D92D20]' />}
|
||||
</div>
|
||||
{
|
||||
!isShort && varType && (
|
||||
<div className='shrink-0 ml-0.5 text-text-tertiary'>{capitalize(varType)}</div>
|
||||
)
|
||||
}
|
||||
</Tooltip>
|
||||
)
|
||||
}
|
||||
|
@ -223,6 +223,7 @@ const ConditionItem = ({
|
||||
valueSelector={condition.variable_selector || []}
|
||||
varType={condition.varType}
|
||||
availableNodes={availableNodes}
|
||||
isShort
|
||||
/>
|
||||
)}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user