2
0

🚑 (condition) Fix crash when adding condition block

This commit is contained in:
Baptiste Arnaud
2022-12-28 10:09:12 +01:00
parent ad72557310
commit 853ea79f6b

View File

@ -135,7 +135,8 @@ export const ItemNodesList = ({
elem && (placeholderRefs.current[idx] = elem) elem && (placeholderRefs.current[idx] = elem)
} }
const collectedVariableId = 'options' in block && block.options.variableId const collectedVariableId =
'options' in block && block.options && block.options.variableId
return ( return (
<Stack flex={1} spacing={1} maxW="full" onClick={stopPropagating}> <Stack flex={1} spacing={1} maxW="full" onClick={stopPropagating}>