File tree Expand file tree Collapse file tree
client/src/pages/platform/workflow-editor/components/hooks Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments