Skip to content

Commit

Permalink
Merge branch 'development' into feat/2837-action-buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaBondar authored Jan 2, 2025
2 parents 9abf9a8 + b8b7c6d commit e628158
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/chat/src/components/Chat/TalkTo/TalkToCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,15 @@ export const TalkToCard = ({

const isOldReplay = useMemo(() => {
return (
entity.id === REPLAY_AS_IS_MODEL &&
conversation.replay &&
conversation.replay.isReplay &&
conversation.replay.replayUserMessagesStack &&
conversation.replay.replayUserMessagesStack.some(
(message) => !message.model,
)
);
}, [conversation.replay]);
}, [conversation.replay, entity.id]);

const menuItems: DisplayMenuItemProps[] = useMemo(
() => [
Expand Down

0 comments on commit e628158

Please sign in to comment.