diff --git a/libs/shared/lib/querybuilder/pills/customFlowPills/logicpill/QueryLogicPill.tsx b/libs/shared/lib/querybuilder/pills/customFlowPills/logicpill/QueryLogicPill.tsx index 5f4b8bb5118532901327b6756fbb5f8f4930cfd7..bc95d1d5848929ac8c4f4590181a6a2aaee87ba6 100644 --- a/libs/shared/lib/querybuilder/pills/customFlowPills/logicpill/QueryLogicPill.tsx +++ b/libs/shared/lib/querybuilder/pills/customFlowPills/logicpill/QueryLogicPill.tsx @@ -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> );