Fix syntax error from services.js (#14328)

Closes #14328
This commit is contained in:
Lex Cao 2022-09-14 13:41:40 +08:00 committed by GitHub
parent e999aeeab8
commit 45765d2e19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -960,7 +960,7 @@ function clientSelectControl($scope, realm, Client) {
Client.query({realm: realm, search: true, clientId: query.term.trim(), max: 20}, function(response) {
query.callback({ results: response.map(function (client) {
return { id: client.id, text: client.clientId }
});
})});
});
}
};
@ -1021,7 +1021,7 @@ function roleControl($scope, $route, realm, role, roles, Client,
clientSelectControl($scope, $route.current.params.realm, Client);
$scope.selectedClient = null;