Skip to content
Snippets Groups Projects
Commit 4d8c6d1b authored by Sjoerd's avatar Sjoerd Committed by Leonardo Christino
Browse files

fix: upper/lower case logic pill with right handle

parent e6252028
No related branches found
Tags v1.115.2
1 merge request!331fix: upper/lower case logic pill with right handle
Pipeline #141666 passed
...@@ -66,12 +66,13 @@ export function QueryLogicPill(node: SchemaReactflowLogicNode) { ...@@ -66,12 +66,13 @@ export function QueryLogicPill(node: SchemaReactflowLogicNode) {
return null; return null;
} }
console.log('node', node);
return ( return (
<LogicPill <LogicPill
title={ title={
<div className="flex flex-row justify-between items-center"> <div className="flex flex-row justify-between items-center">
<span>{connectionsToLeft[0]?.attributes?.sourceHandleData.attributeName}</span> <span>{connectionsToLeft[0]?.attributes?.sourceHandleData.attributeName}</span>
<DropdownContainer> <DropdownContainer>
<DropdownTrigger size="md"> <DropdownTrigger size="md">
<Button <Button
...@@ -155,7 +156,7 @@ export function QueryLogicPill(node: SchemaReactflowLogicNode) { ...@@ -155,7 +156,7 @@ export function QueryLogicPill(node: SchemaReactflowLogicNode) {
</div> </div>
); );
})} })}
{/* {!!node.data.logic.output && ( {['upper_case', 'lower_case'].includes(node.data.logic.output.name) && (
<Handle <Handle
type={'source'} type={'source'}
position={Position.Right} position={Position.Right}
...@@ -167,7 +168,7 @@ export function QueryLogicPill(node: SchemaReactflowLogicNode) { ...@@ -167,7 +168,7 @@ export function QueryLogicPill(node: SchemaReactflowLogicNode) {
})} })}
className={styleHandleMap?.[output.type]} className={styleHandleMap?.[output.type]}
></Handle> ></Handle>
)} */} )}
</div> </div>
</LogicPill> </LogicPill>
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment