mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 09:58:04 +08:00
Align warning styles for agent mentions
This commit is contained in:
@ -190,7 +190,10 @@ const Node: FC<NodeProps<ToolNodeType>> = ({
|
||||
{referenceItems.map(item => (
|
||||
<div
|
||||
key={item.key}
|
||||
className="flex h-6 items-center justify-between space-x-1 rounded-md bg-workflow-block-parma-bg px-1 text-xs font-normal text-text-secondary"
|
||||
className={cn(
|
||||
'flex h-6 items-center justify-between space-x-1 rounded-md px-1 text-xs font-normal text-text-secondary',
|
||||
item.hasWarning ? 'bg-components-badge-status-light-warning-halo' : 'bg-workflow-block-parma-bg',
|
||||
)}
|
||||
>
|
||||
<div className="flex min-w-0 items-center gap-1">
|
||||
<BlockIcon
|
||||
|
||||
Reference in New Issue
Block a user