]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix hasMore in notifications
authorThibaut Girka <thib@sitedethib.com>
Thu, 13 Dec 2018 20:11:18 +0000 (21:11 +0100)
committerThibG <thib@sitedethib.com>
Thu, 13 Dec 2018 20:58:48 +0000 (21:58 +0100)
app/javascript/flavours/glitch/reducers/notifications.js

index 0b816e85eeced14ef57e8c2974feeabc29314a91..b65c51f324282f0fb665af7329c9c48917849dfe 100644 (file)
@@ -96,7 +96,7 @@ const expandNormalizedNotifications = (state, notifications, next) => {
     }
 
     if (!next) {
-      mutable.set('hasMore', true);
+      mutable.set('hasMore', false);
     }
 
     mutable.set('isLoading', false);