Browse Source

Fix since_id

closed-social-glitch-2
Thibaut Girka 6 years ago
committed by ThibG
parent
commit
4b85bf12ab
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/flavours/glitch/actions/notifications.js

+ 1
- 1
app/javascript/flavours/glitch/actions/notifications.js View File

@ -102,7 +102,7 @@ export function expandNotifications({ maxId } = {}, done = noOp) {
};
if (!maxId && notifications.get('items').size > 0) {
params.since_id = notifications.getIn(['items', 0]);
params.since_id = notifications.getIn(['items', 0, 'id']);
}
dispatch(expandNotificationsRequest(isLoadingMore));

Loading…
Cancel
Save