Livestream: fix items incorrectly appearing in HyperChat List mode.
This commit is contained in:
parent
3afec516d3
commit
e8c4fb3b7d
1 changed files with 2 additions and 2 deletions
|
@ -238,7 +238,7 @@ export default function LivestreamComments(props: Props) {
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{pinnedComment && (
|
{pinnedComment && viewMode === VIEW_MODE_CHAT && (
|
||||||
<div className="livestream-pinned__wrapper">
|
<div className="livestream-pinned__wrapper">
|
||||||
<LivestreamComment
|
<LivestreamComment
|
||||||
key={pinnedComment.comment_id}
|
key={pinnedComment.comment_id}
|
||||||
|
@ -296,7 +296,7 @@ export default function LivestreamComments(props: Props) {
|
||||||
<div className="main--empty" style={{ flex: 1 }} />
|
<div className="main--empty" style={{ flex: 1 }} />
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{scrollPos < 0 && (
|
{scrollPos < 0 && viewMode === VIEW_MODE_CHAT && (
|
||||||
<Button
|
<Button
|
||||||
button="secondary"
|
button="secondary"
|
||||||
className="livestream__comments__scroll-to-recent"
|
className="livestream__comments__scroll-to-recent"
|
||||||
|
|
Loading…
Reference in a new issue