Skip to content

Commit

Permalink
Allow connecting text param into data column parameter
Browse files Browse the repository at this point in the history
If we really cared we could inspect the data_column param to see if we
should provide integers or column names ... but this is nice as is IMO.

Closes #16491
  • Loading branch information
mvdbeek committed Aug 9, 2024
1 parent 8ea9abb commit f080d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Workflow/Editor/modules/terminals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ export class InputParameterTerminal extends BaseInputTerminal {
}

effectiveType(parameterType: string) {
return parameterType == "select" ? "text" : parameterType;
return parameterType == "select" || parameterType == "data_column" ? "text" : parameterType;
}
attachable(other: BaseOutputTerminal) {
const effectiveThisType = this.effectiveType(this.type);
Expand Down

0 comments on commit f080d0a

Please sign in to comment.