summaryrefslogtreecommitdiffstats
path: root/js/controller/NavigationController.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/controller/NavigationController.js')
-rw-r--r--js/controller/NavigationController.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/controller/NavigationController.js b/js/controller/NavigationController.js
index 08443191b..e6cb14a93 100644
--- a/js/controller/NavigationController.js
+++ b/js/controller/NavigationController.js
@@ -11,6 +11,9 @@ app.controller('NavigationController',
function (FeedResource, FolderResource, ItemResource, SettingsResource) {
'use strict';
+ this.feedError = '';
+ this.folderError = '';
+
this.getFeeds = () => {
return FeedResource.getAll();
};
@@ -41,6 +44,10 @@ function (FeedResource, FolderResource, ItemResource, SettingsResource) {
return SettingsResource.get('showAll');
};
+ this.getFeedsOfFolder = (folderId) => {
+ return FeedResource.getByFolderId(folderId);
+ };
+
// TBD
this.createFeed = () => {
console.log('TBD');