Fix missing group in angular $scope in GroupMembersCtrl.

Previously navigating to the group members tab of a group breaks other groups links (RoleMappings, Attributes etc.) because the groupId part of the url is missing.
 One sees:
 /auth/admin/master/console/#/realms/master/groups//role-mappings
 Instead of:
 /auth/admin/master/console/#/realms/master/groups/0f77aeed-7d16-4938-9fcc-c74b1125e5e0/role-mappings
This commit is contained in:
Thomas Darimont 2015-11-19 13:54:18 +01:00
parent 9f1fa5ebb9
commit 14292843ff

View file

@ -323,7 +323,7 @@ module.controller('GroupRoleMappingCtrl', function($scope, $http, realm, group,
module.controller('GroupMembersCtrl', function($scope, realm, group, GroupMembership) { module.controller('GroupMembersCtrl', function($scope, realm, group, GroupMembership) {
$scope.realm = realm; $scope.realm = realm;
$scope.page = 0; $scope.page = 0;
$scope.group = group;
$scope.query = { $scope.query = {
realm: realm.realm, realm: realm.realm,