undo test condition

notifications
Henry Jameson 6 years ago
parent 63650aec29
commit d085cc8584

@ -268,7 +268,7 @@ const addNewNotifications = (state, { notifications, older }) => {
state.notifications.minId = Math.min(notification.id, state.notifications.minId)
console.log(notification)
const fresh = !older && !notification.is_seen && notification.id >= state.notifications.maxSavedId
const fresh = !older && !notification.is_seen && notification.id > state.notifications.maxSavedId
const status = notification.ntype === 'like'
? find(allStatuses, { id: action.in_reply_to_status_id })
: action

Loading…
Cancel
Save