1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-01 08:18:53 +09:00

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

This commit is contained in:
ThibG 2020-01-20 16:34:42 +01:00 committed by Eugen Rochko
parent 39f2bce231
commit 2d5addde03

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'>