Browse Source

fix(daily activity sort): sort the activity within a day from new to old

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
8339c0b04d
  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