mirror of https://github.com/langgenius/dify.git
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…
Reference in New Issue