From 4d8c6d1b48d86a532de0da2ec1fc4f1bfb573fe0 Mon Sep 17 00:00:00 2001
From: Sjoerd <svink@graphpolaris.com>
Date: Fri, 15 Nov 2024 14:22:43 +0000
Subject: [PATCH] fix: upper/lower case logic pill with right handle

---
 .../pills/customFlowPills/logicpill/QueryLogicPill.tsx     | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/libs/shared/lib/querybuilder/pills/customFlowPills/logicpill/QueryLogicPill.tsx b/libs/shared/lib/querybuilder/pills/customFlowPills/logicpill/QueryLogicPill.tsx
index 5f4b8bb51..bc95d1d58 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>
   );
-- 
GitLab