Skip to content

Commit 98da907

Browse files
ivicacclaude
andcommitted
732 client - Use outputDefined instead of variablePropertiesDefined for task dispatchers
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0986e3d commit 98da907

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

client/src/pages/platform/workflow-editor/components/hooks/useWorkflowNodeDetailsPanel.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,11 +410,11 @@ export default function useWorkflowNodeDetailsPanel({
410410
currentActionDefinition?.outputDefined ||
411411
currentTriggerDefinition?.outputDefined ||
412412
currentClusterElementDefinition?.outputDefined ||
413-
(currentOperationDefinition as TaskDispatcherDefinition)?.variablePropertiesDefined;
413+
(currentOperationDefinition as TaskDispatcherDefinition)?.outputDefined;
414414
const outputFunctionDefined =
415415
currentActionDefinition?.outputFunctionDefined ||
416416
currentTriggerDefinition?.outputFunctionDefined ||
417-
currentClusterElementDefinition?.outputSchemaDefined;
417+
currentClusterElementDefinition?.outputFunctionDefined;
418418

419419
const showOutputTab = useMemo(() => {
420420
if (currentNode?.clusterElementType && currentNode.clusterElementType !== CLUSTER_ELEMENT_TYPE_TOOLS) {
@@ -431,7 +431,7 @@ export default function useWorkflowNodeDetailsPanel({
431431
if (currentOperationDefinition && 'variablePropertiesDefined' in currentOperationDefinition) {
432432
const taskDispatcher = currentOperationDefinition as TaskDispatcherDefinition;
433433

434-
if (!taskDispatcher.variablePropertiesDefined) {
434+
if (!taskDispatcher.outputDefined) {
435435
return false;
436436
}
437437
}

0 commit comments

Comments
 (0)