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:
commit
790452d411
1 file changed
+1
-1
@@ -445,7 +445,7 @@ angular.module('manage').controller('manageUserController', ['$scope', '$injecto
|
|||||||
// Add page entry
|
// Add page entry
|
||||||
$scope.accountPages.push(new PageDefinition({
|
$scope.accountPages.push(new PageDefinition({
|
||||||
name : translationStringService.canonicalize('DATA_SOURCE_' + dataSource) + '.NAME',
|
name : translationStringService.canonicalize('DATA_SOURCE_' + dataSource) + '.NAME',
|
||||||
url : '/manage/' + encodeURIComponent(dataSource) + '/users/' + encodeURIComponent(username),
|
url : '/manage/' + encodeURIComponent(dataSource) + '/users/' + encodeURIComponent(username || ''),
|
||||||
className : className
|
className : className
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user