feat: red dot indicator for new unread articles

This commit is contained in:
Eshwar Tangirala
2025-05-10 14:32:20 -04:00
parent 1bd504cbfb
commit afc56c6053

View File

@@ -98,7 +98,7 @@ export function TreeNode(props: TreeNodeProps) {
<Box className="cf-treenode-unread-count">
<UnreadCount
unreadCount={props.unread}
newMessages={props.id === "all" ? true: false}
newMessages={props.id === "all" ? props.newMessages: false}
/>
</Box>
)}