diff options
Diffstat (limited to 'js/controller/NavigationController.js')
-rw-r--r-- | js/controller/NavigationController.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/controller/NavigationController.js b/js/controller/NavigationController.js index d0f9c526e..5f76eaddb 100644 --- a/js/controller/NavigationController.js +++ b/js/controller/NavigationController.js @@ -112,6 +112,11 @@ function ($route, FEED_TYPE, FeedResource, FolderResource, ItemResource, $route.current.$$route.type === FEED_TYPE.STARRED; }; + this.isExploreActive = function () { + return $route.current && + $route.current.$$route.type === FEED_TYPE.EXPLORE; + }; + this.isFolderActive = function (folderId) { return $route.current && $route.current.$$route.type === FEED_TYPE.FOLDER && |