Merge pull request #312 from glyptodon/fix-user-account-tab

GUAC-1444: Do not include username in account tabs if not known.
This commit is contained in:
James Muehlner
2015-12-18 15:07:41 -08:00

View File

@@ -445,7 +445,7 @@ angular.module('manage').controller('manageUserController', ['$scope', '$injecto
// Add page entry
$scope.accountPages.push(new PageDefinition({
name : translationStringService.canonicalize('DATA_SOURCE_' + dataSource) + '.NAME',
url : '/manage/' + encodeURIComponent(dataSource) + '/users/' + encodeURIComponent(username),
url : '/manage/' + encodeURIComponent(dataSource) + '/users/' + encodeURIComponent(username || ''),
className : className
}));