diff --git a/web/app/components/workflow/hooks/use-inspect-vars-crud.ts b/web/app/components/workflow/hooks/use-inspect-vars-crud.ts index 2396b2b283..5b79d03683 100644 --- a/web/app/components/workflow/hooks/use-inspect-vars-crud.ts +++ b/web/app/components/workflow/hooks/use-inspect-vars-crud.ts @@ -45,8 +45,8 @@ const useInspectVarsCrud = () => { const fetchInspectVarValue = async (selector: ValueSelector) => { const nodeId = selector[0] - const isSystemVar = selector[1] === 'sys' - const isConversationVar = selector[1] === 'conversation' + const isSystemVar = nodeId === 'sys' + const isConversationVar = nodeId === 'conversation' console.log(nodeId, isSystemVar, isConversationVar) if (isSystemVar) { invalidateSysVarValues()