[KEYCLOAK-7160] - Completely broken AuthZ Configs in IE
This commit is contained in:
parent
bc8763ccf3
commit
2eddfd3ea8
1 changed files with 6 additions and 1 deletions
|
@ -375,7 +375,12 @@ module.controller('ResourceServerResourceDetailCtrl', function($scope, $http, $r
|
||||||
for (i = 0; i < $scope.resource.scopes.length; i++) {
|
for (i = 0; i < $scope.resource.scopes.length; i++) {
|
||||||
delete $scope.resource.scopes[i].text;
|
delete $scope.resource.scopes[i].text;
|
||||||
}
|
}
|
||||||
for (var [key, value] of Object.entries($scope.resource.attributes)) {
|
|
||||||
|
var keys = Object.keys($scope.resource.attributes);
|
||||||
|
|
||||||
|
for (var k = 0; k < keys.length; k++) {
|
||||||
|
var key = keys[k];
|
||||||
|
var value = $scope.resource.attributes[key];
|
||||||
var values = value.toString().split(',');
|
var values = value.toString().split(',');
|
||||||
|
|
||||||
$scope.resource.attributes[key] = [];
|
$scope.resource.attributes[key] = [];
|
||||||
|
|
Loading…
Reference in a new issue