GUAC-586: Do not show tab levels which have only one tab.

This commit is contained in:
Michael Jumper committed 2015-09-02 19:51:28 -07:00
1 parent 36c1c853f9
commit 361e985ae1
6 files changed
+21 -25

No files matched your search

@@ -146,17 +146,6 @@ angular.module('manage').controller('manageUserController', ['$scope', '$injecto
*/
$scope.accountPages = [];
/**
* Returns whether the list of all available account tabs should be shown.
*
* @returns {Boolean}
* true if the list of available account tabs should be shown, false
* otherwise.
*/
$scope.showAccountTabs = function showAccountTabs() {
return !!$scope.accountPages && $scope.accountPages.length > 1;
};
/**
* Returns whether critical data has completed being loaded.
*