fix(engine): 🚑️ Fix multiple avatars
This commit is contained in:
@@ -131,14 +131,15 @@ export const ChatBlock = ({
|
|||||||
<div className="flex w-full">
|
<div className="flex w-full">
|
||||||
<div className="flex flex-col w-full min-w-0">
|
<div className="flex flex-col w-full min-w-0">
|
||||||
<div className="flex">
|
<div className="flex">
|
||||||
{(typebot.theme.chat.hostAvatar?.isEnabled ?? true) && (
|
{bubbleSteps.length > 0 &&
|
||||||
<AvatarSideContainer
|
(typebot.theme.chat.hostAvatar?.isEnabled ?? true) && (
|
||||||
ref={avatarSideContainerRef}
|
<AvatarSideContainer
|
||||||
hostAvatarSrc={
|
ref={avatarSideContainerRef}
|
||||||
avatarSrc && parseVariables(typebot.variables)(avatarSrc)
|
hostAvatarSrc={
|
||||||
}
|
avatarSrc && parseVariables(typebot.variables)(avatarSrc)
|
||||||
/>
|
}
|
||||||
)}
|
/>
|
||||||
|
)}
|
||||||
<TransitionGroup>
|
<TransitionGroup>
|
||||||
{bubbleSteps.map((step) => (
|
{bubbleSteps.map((step) => (
|
||||||
<CSSTransition
|
<CSSTransition
|
||||||
|
|||||||
Reference in New Issue
Block a user