mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
Fixes #7910
This commit is contained in:
@@ -472,11 +472,6 @@ function configure (app, wares, ctx, env) {
|
||||
});
|
||||
} else {
|
||||
inMemoryCollection = ctx.cache.getData('entries');
|
||||
|
||||
inMemoryCollection = _.sortBy(inMemoryCollection, function(item) {
|
||||
const age = item.mills | item.date;
|
||||
return age;
|
||||
}).reverse();
|
||||
}
|
||||
|
||||
if (inMemoryPossible && query.count <= inMemoryCollection.length) {
|
||||
|
||||
Reference in New Issue
Block a user