Skip to content

Commit

Permalink
fixed threadsidebar nothread info without search
Browse files Browse the repository at this point in the history
  • Loading branch information
Spiral-Memory committed May 9, 2024
1 parent 8945382 commit 3df46a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/react/src/components/AllThreads/AllThreads.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ const AllThreads = () => {
[messages, text]
);

const containsThreads = messages.some((message) => message.tcount > 0);
const containsThreads = messages.some(
(message) => !message.t && message.tcount > 0
);

return (
<Sidebar
Expand Down

0 comments on commit 3df46a5

Please sign in to comment.