diff --git a/apps/builder/public/templates/lead-scoring.json b/apps/builder/public/templates/lead-scoring.json
index fb9e06412..b245c4067 100644
--- a/apps/builder/public/templates/lead-scoring.json
+++ b/apps/builder/public/templates/lead-scoring.json
@@ -429,8 +429,7 @@
"type": "choice input",
"options": {
"buttonLabel": "Send",
- "isMultipleChoice": false,
- "variableId": "vcl1sfd8v600432e6exab4vhov"
+ "isMultipleChoice": false
},
"items": [
{
diff --git a/apps/builder/src/features/graph/components/Nodes/ItemNode/ItemNodesList.tsx b/apps/builder/src/features/graph/components/Nodes/ItemNode/ItemNodesList.tsx
index 4a672310e..aac27e20e 100644
--- a/apps/builder/src/features/graph/components/Nodes/ItemNode/ItemNodesList.tsx
+++ b/apps/builder/src/features/graph/components/Nodes/ItemNode/ItemNodesList.tsx
@@ -226,13 +226,21 @@ const CollectVariableLabel = ({
}: {
variableId: string
variables: Variable[]
-}) => (
-
-
- Collects
-
-
- {variables.find((variable) => variable.id === variableId)?.name}
-
-
-)
+}) => {
+ const textColor = useColorModeValue('gray.600', 'gray.400')
+ const variableName = variables.find(
+ (variable) => variable.id === variableId
+ )?.name
+
+ if (!variableName) return null
+ return (
+
+
+ Collects
+
+
+ {variableName}
+
+
+ )
+}