Story replies indicator

This commit is contained in:
Alvaro 2022-11-22 21:05:33 -07:00 committed by GitHub
parent b4b477e44c
commit 896b36c301
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 18 deletions

View file

@ -106,9 +106,9 @@ export function StoryListItem({
}
let repliesElement: JSX.Element | undefined;
if (hasRepliesFromSelf) {
if (group === undefined && hasRepliesFromSelf) {
repliesElement = <div className="StoryListItem__info--replies--self" />;
} else if (hasReplies) {
} else if (group && (hasReplies || hasRepliesFromSelf)) {
repliesElement = <div className="StoryListItem__info--replies--others" />;
}