KEYCLOAK-6022

This commit is contained in:
stianst 2017-12-15 08:46:35 +01:00 committed by Stian Thorgersen
parent b303acaaba
commit 71e6f52f7d

View file

@ -2493,12 +2493,12 @@ module.controller('RoleSelectorModalCtrl', function($scope, realm, config, confi
}; };
$scope.selectRealmRole = function() { $scope.selectRealmRole = function() {
config[configName] = [$scope.selectedRealmRole.role.name]; config[configName] = $scope.selectedRealmRole.role.name;
$modalInstance.close(); $modalInstance.close();
} }
$scope.selectClientRole = function() { $scope.selectClientRole = function() {
config[configName] = [$scope.client.selected.clientId + "." + $scope.selectedClientRole.role.name]; config[configName] = $scope.client.selected.clientId + "." + $scope.selectedClientRole.role.name;
$modalInstance.close(); $modalInstance.close();
} }