From 8787231a6c0a0fc70eb6934d9e50293dd8e094b4 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Tue, 31 Dec 2013 15:24:40 -0800 Subject: [PATCH] Fix idle check when sorting resources --- clientapp/models/resources.js | 2 +- public/x-manifest.cache | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clientapp/models/resources.js b/clientapp/models/resources.js index ea2c527..3693dcb 100644 --- a/clientapp/models/resources.js +++ b/clientapp/models/resources.js @@ -18,7 +18,7 @@ module.exports = BaseCollection.extend({ if (!!res1.idleSince && !!res2.idleSince) { return 0; } - if (res1.idleSince && !res2.idleSince) { + if (res1.idleSince && !!res2.idleSince) { return 1; } return -1; diff --git a/public/x-manifest.cache b/public/x-manifest.cache index 64a01f9..99f9895 100644 --- a/public/x-manifest.cache +++ b/public/x-manifest.cache @@ -1,5 +1,5 @@ CACHE MANIFEST -# 0.0.1 1388531436566 +# 0.0.1 1388532098209 CACHE: /app.js