mirror of
https://github.com/langgenius/dify.git
synced 2026-08-26 18:36:52 -04:00
fix(workflow): correct type for AgentLogNavMore options prop
Change options type from generic object to AgentLogItemWithChildren and use node_execution_id instead of id for React key.
This commit is contained in:
@@ -41,7 +41,7 @@ const AgentLogNavMore = ({
|
||||
{
|
||||
options.map(option => (
|
||||
<div
|
||||
key={option.id}
|
||||
key={option.node_execution_id}
|
||||
className='system-md-regular flex h-8 cursor-pointer items-center rounded-lg px-2 text-text-secondary hover:bg-state-base-hover'
|
||||
onClick={() => {
|
||||
onShowAgentOrToolLog(option)
|
||||
|
||||
Reference in New Issue
Block a user