2
0

fix(team): 🛂 Improve collab permissions

This commit is contained in:
Baptiste Arnaud
2022-03-29 11:20:15 +02:00
parent 8d6330f6fd
commit bb194b1dbb
14 changed files with 101 additions and 56 deletions

View File

@ -161,7 +161,7 @@ export const ChatBlock = ({
return onBlockEnd(currentStep.outgoingEdgeId)
}
const nextStep = steps[processedSteps.length + startStepIndex]
if (nextStep) insertStepInStack(nextStep)
nextStep ? insertStepInStack(nextStep) : onBlockEnd()
}
const avatarSrc = typebot.theme.chat.hostAvatar?.url