mirror of https://github.com/langgenius/dify.git
add icon for tool node in web app
This commit is contained in:
parent
05bb65bd94
commit
4eb9027510
|
|
@ -218,6 +218,9 @@ const Result: FC<IResultProps> = ({
|
|||
const currentIndex = draft.tracing!.findIndex(trace => trace.node_id === data.node_id)
|
||||
if (currentIndex > -1 && draft.tracing) {
|
||||
draft.tracing[currentIndex] = {
|
||||
...(draft.tracing[currentIndex].extras
|
||||
? { extras: draft.tracing[currentIndex].extras }
|
||||
: {}),
|
||||
...data,
|
||||
expand: !!data.error,
|
||||
} as any
|
||||
|
|
|
|||
Loading…
Reference in New Issue