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:
GuanMu
2025-10-17 01:13:54 +00:00
parent e059332422
commit b5d55ec356
@@ -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)