2
0

fix(analytics): 🐛 Analytics board

This commit is contained in:
Baptiste Arnaud
2022-02-11 18:06:59 +01:00
parent 93fed893c0
commit 7c164e25d7
13 changed files with 179 additions and 108 deletions

View File

@ -115,7 +115,11 @@ export const StepNodesList = ({
}
return (
<Stack spacing={1} transition="none">
<Stack
spacing={1}
transition="none"
pointerEvents={isReadOnly ? 'none' : 'auto'}
>
<Flex
ref={handlePushElementRef(0)}
h={
@ -135,7 +139,7 @@ export const StepNodesList = ({
key={step.id}
step={step}
indices={{ blockIndex, stepIndex: idx }}
isConnectable={!isReadOnly && steps.length - 1 === idx}
isConnectable={steps.length - 1 === idx}
onMouseDown={handleStepMouseDown(idx)}
/>
<Flex