Fix “X new items” not showing up for slow mode on empty timelines (#12875)

pull/12906/head
ThibG 2020-01-20 16:34:42 +01:00 committed by Eugen Rochko
parent 39f2bce231
commit 2d5addde03
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ export default class ScrollableList extends PureComponent {
</div>
</div>
);
} else if (isLoading || childrenCount > 0 || hasMore || !emptyMessage) {
} else if (isLoading || childrenCount > 0 || numPending > 0 || hasMore || !emptyMessage) {
scrollableArea = (
<div className={classNames('scrollable', { fullscreen })} ref={this.setRef} onMouseMove={this.handleMouseMove}>
<div role='feed' className='item-list'>