Highligh currently selected category button instead of showing the title
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user