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

remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
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>
</div> </div>
); );
} else if (isLoading || childrenCount > 0 || hasMore || !emptyMessage) { } else if (isLoading || childrenCount > 0 || numPending > 0 || hasMore || !emptyMessage) {
scrollableArea = ( scrollableArea = (
<div className={classNames('scrollable', { fullscreen })} ref={this.setRef} onMouseMove={this.handleMouseMove}> <div className={classNames('scrollable', { fullscreen })} ref={this.setRef} onMouseMove={this.handleMouseMove}>
<div role='feed' className='item-list'> <div role='feed' className='item-list'>