summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorJimmy Huynh <jimmy.huynh@etu.unistra.fr>2021-01-28 17:07:58 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 23:17:31 +0200
commit86949f992b77ac9822c5ed79deeab1009652dc55 (patch)
treed96b928dd3671eca34f8cf3b8f65c097bffa1c65 /js
parent7609fdbabf2dca556873a9c48df4c597f7df209a (diff)
(+) isSharedUnread (depending on getSharedCount(): function done
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'js')
-rw-r--r--js/controller/NavigationController.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/controller/NavigationController.js b/js/controller/NavigationController.js
index 191618504..ec86ff01a 100644
--- a/js/controller/NavigationController.js
+++ b/js/controller/NavigationController.js
@@ -118,8 +118,7 @@ app.controller('NavigationController', function ($route, FEED_TYPE, FeedResource
};
this.isSharedUnread = function () {
- return true; // TODO:: waiting for Nicolas' request to receive the number of shared articles
- //return this.getSharedCount() > 0;
+ return this.getSharedCount() > 0;
};
this.toggleFolder = function (folderName) {