diff --git a/src/views/appstore.html b/src/views/appstore.html index 2a1826668..92cb8391e 100644 --- a/src/views/appstore.html +++ b/src/views/appstore.html @@ -276,11 +276,11 @@
- - - + + +
-

{{ categoryLabel(category) }}

diff --git a/src/views/appstore.js b/src/views/appstore.js index c49ab7e4f..61a47646a 100644 --- a/src/views/appstore.js +++ b/src/views/appstore.js @@ -70,17 +70,6 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca return 'Category'; }; - $scope.categoryLabel = function (category) { - if (category === 'new') return 'New Apps'; - if (category === 'recent') return 'Recently Updated'; - if (category === 'featured') return 'Popular Apps'; - - var tmp = $scope.categories.find(function (c) { return c.id === category; }); - if (tmp) return tmp.label; - - return ''; - }; - $scope.appInstall = { busy: false, state: 'appInfo',