mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 17:18:40 +08:00
fix: var02 icon show
This commit is contained in:
parent
76081db6e4
commit
a8c86b759d
@ -206,9 +206,9 @@ const VarReferencePicker: FC<Props> = ({
|
|||||||
/>
|
/>
|
||||||
<div className='h-4 w-px bg-black/5'></div>
|
<div className='h-4 w-px bg-black/5'></div>
|
||||||
</div>
|
</div>
|
||||||
: <div className='ml-1.5 mr-1'>
|
: (!hasValue && <div className='ml-1.5 mr-1'>
|
||||||
<Variable02 className='w-3.5 h-3.5 text-gray-400' />
|
<Variable02 className='w-3.5 h-3.5 text-gray-400' />
|
||||||
</div>}
|
</div>)}
|
||||||
{isConstant
|
{isConstant
|
||||||
? (
|
? (
|
||||||
<input
|
<input
|
||||||
@ -239,7 +239,7 @@ const VarReferencePicker: FC<Props> = ({
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<div className='flex items-center text-primary-600'>
|
<div className='flex items-center text-primary-600'>
|
||||||
<Variable02 className='w-3.5 h-3.5' />
|
{!hasValue && <Variable02 className='w-3.5 h-3.5' />}
|
||||||
<div className='ml-0.5 text-xs font-medium'>{varName}</div>
|
<div className='ml-0.5 text-xs font-medium'>{varName}</div>
|
||||||
</div>
|
</div>
|
||||||
<div className='ml-0.5 text-xs font-normal text-gray-500 capitalize'>{getVarType()}</div>
|
<div className='ml-0.5 text-xs font-normal text-gray-500 capitalize'>{getVarType()}</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user