Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix: Unable to create thread for message with deleted reply (#401)

dev-rb5cff246ac359
diff --git a/js/app/packages/block-channel/component/Message/MessageContainer.tsx b/js/app/packages/block-channel/component/Message/MessageContainer.tsx
index c74c2f9aee..929f2c41ed 100644
--- a/js/app/packages/block-channel/component/Message/MessageContainer.tsx
+++ b/js/app/packages/block-channel/component/Message/MessageContainer.tsx
@@ -253,7 +253,7 @@ export function MessageContainer(props: MessageProps) {
const shouldShowFirstReply = createMemo(() => {
return (
- !props.threadChildren &&
+ !props.threadChildren?.length &&
props.threadViewStore[message.id ?? '']?.hasActiveReply
);
});