Browse Source

Merge pull request #412 from LN-Zap/fix/activity-ordering

fix(daily activity sort): sort the activity within a day from new to old
renovate/lint-staged-8.x
JimmyMow 7 years ago
committed by GitHub
parent
commit
5915e20f1b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/reducers/activity.js

3
app/reducers/activity.js

@ -145,6 +145,9 @@ function groupData(data) {
arr[title].push({ el })
// sort the activity within a day new -> old
arr[title].sort((a, b) => returnTimestamp(b.el) - returnTimestamp(a.el))
return arr
}, {})
}

Loading…
Cancel
Save