Skip to content
Snippets Groups Projects

fix: upper/lower case logic pill with right handle

Merged Sjoerd requested to merge fix/logicPill into main
@@ -66,12 +66,13 @@ export function QueryLogicPill(node: SchemaReactflowLogicNode) {
return null;
}
console.log('node', node);
return (
<LogicPill
title={
<div className="flex flex-row justify-between items-center">
<span>{connectionsToLeft[0]?.attributes?.sourceHandleData.attributeName}</span>
<DropdownContainer>
<DropdownTrigger size="md">
<Button
@@ -155,7 +156,7 @@ export function QueryLogicPill(node: SchemaReactflowLogicNode) {
</div>
);
})}
{/* {!!node.data.logic.output && (
{['upper_case', 'lower_case'].includes(node.data.logic.output.name) && (
<Handle
type={'source'}
position={Position.Right}
@@ -167,7 +168,7 @@ export function QueryLogicPill(node: SchemaReactflowLogicNode) {
})}
className={styleHandleMap?.[output.type]}
></Handle>
)} */}
)}
</div>
</LogicPill>
);
Loading