Fix loading indicator inconsistency (#9252)

* Use global loading indicator when loading more items

* Use local loading indicator for notifications

And remove global loading indicator for initial custom emojis load
This commit is contained in:
Eugen Rochko authored and GitHub committed 2018-11-10 15:04:13 +01:00
1 parent 2f86fc5e0a
commit 3cecf3e5b9
5 files changed
+27 -15

No files matched your search

@@ -153,6 +153,7 @@ class Notifications extends React.PureComponent {
scrollKey={`notifications-${columnId}`}
trackScroll={!pinned}
isLoading={isLoading}
showLoading={isLoading && notifications.size === 0}
hasMore={hasMore}
emptyMessage={emptyMessage}
onLoadMore={this.handleLoadOlder}