Story replies indicator
This commit is contained in:
parent
b4b477e44c
commit
896b36c301
3 changed files with 27 additions and 18 deletions
|
@ -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" />;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue