diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/build/app.js | 3 | ||||
-rw-r--r-- | js/controller/NavigationController.js | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/js/build/app.js b/js/build/app.js index 844659066..b2cb2dafe 100644 --- a/js/build/app.js +++ b/js/build/app.js @@ -384,8 +384,7 @@ var $__build_47_app__ = function () { return $route.current && $route.current.$$route.type === FEED_TYPE.FEED && currentId === feedId; }; this.folderNameExists = function (folderName) { - $__0.something = folderName; - return folderName === 'test'; + return FolderResource.get(folderName) !== undefined; }; this.isAddingFolder = function () { return true; diff --git a/js/controller/NavigationController.js b/js/controller/NavigationController.js index 4d5ad605b..485f7a387 100644 --- a/js/controller/NavigationController.js +++ b/js/controller/NavigationController.js @@ -112,9 +112,7 @@ function ($route, FEED_TYPE, FeedResource, FolderResource, ItemResource, }; this.folderNameExists = (folderName) => { - this.something = folderName; - return folderName === 'test'; - //return FolderResource.get(folderName) !== undefined; + return FolderResource.get(folderName) !== undefined; }; // TBD |