Skip to content

Commit

Permalink
Change initial device status render to use 10 most recent updates fro…
Browse files Browse the repository at this point in the history
…m each device, rather than just 1
  • Loading branch information
sulkaharo committed Jul 10, 2018
1 parent aafc9ca commit 1589b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/data/ddata.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function init( ) {
.filter(function notInTheFuture (status) {
return status.mills <= time;
})
.maxBy('mills')
.takeRight(10)
.value();
})
.filter(_.isObject)
Expand Down

0 comments on commit 1589b99

Please sign in to comment.