Skip to content

Commit

Permalink
Update packages/editor-ui/src/composables/usePinnedData.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
  • Loading branch information
CharlieKolb and mutdmour authored Nov 4, 2024
1 parent abee2f7 commit aae7ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor-ui/src/composables/usePinnedData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export function usePinnedData(
const workflow = workflowsStore.getCurrentWorkflow();
const mainOutputs = NodeHelpers.getNodeOutputs(workflow, targetNode, nodeType)
.map((output) => (typeof output === 'string' ? { type: output } : output))
.filter((output) => output.type === NodeConnectionType.Main);
.filter((output) => output.type === NodeConnectionType.Main && output.category !== 'error');

// Outputs are pinnable if there is exactly one main output and optionally one error output
const pinnableMainOutputs =
Expand Down

0 comments on commit aae7ccc

Please sign in to comment.