From 45765d2e19fbda351680328a96049884a68bc1b5 Mon Sep 17 00:00:00 2001 From: Lex Cao Date: Wed, 14 Sep 2022 13:41:40 +0800 Subject: [PATCH] Fix syntax error from services.js (#14328) Closes #14328 --- .../main/resources/theme/base/admin/resources/js/services.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/src/main/resources/theme/base/admin/resources/js/services.js b/themes/src/main/resources/theme/base/admin/resources/js/services.js index b829f7ff6e..836dde5983 100755 --- a/themes/src/main/resources/theme/base/admin/resources/js/services.js +++ b/themes/src/main/resources/theme/base/admin/resources/js/services.js @@ -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;