about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/notifications/index.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-11-10 18:01:39 +0100
committerThibG <thib@sitedethib.com>2018-11-13 15:54:04 +0100
commitc78c80f807e5e57e549496e3a76a0743c5e44ac2 (patch)
tree132066837882fcb55e9af9e1e4a6be6573f3b170 /app/javascript/flavours/glitch/features/notifications/index.js
parent5ebbaffaa308d4e0496f99321bbaeb1205bb8930 (diff)
[Glitch] Fix loading indicator inconsistency
Port 3cecf3e5b995f5035b17fd9572c17ba1ede9346b to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/features/notifications/index.js')
-rw-r--r--app/javascript/flavours/glitch/features/notifications/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/notifications/index.js b/app/javascript/flavours/glitch/features/notifications/index.js
index 13ed26865..0e73f02d8 100644
--- a/app/javascript/flavours/glitch/features/notifications/index.js
+++ b/app/javascript/flavours/glitch/features/notifications/index.js
@@ -187,6 +187,7 @@ export default class Notifications extends React.PureComponent {
         scrollKey={`notifications-${columnId}`}
         trackScroll={!pinned}
         isLoading={isLoading}
+        showLoading={isLoading && notifications.size === 0}
         hasMore={hasMore}
         emptyMessage={emptyMessage}
         onLoadMore={this.handleLoadOlder}