KEYCLOAK-1505 Fix JS error in admin console on old browsers
This commit is contained in:
parent
afbf1cc33f
commit
bd22d30674
1 changed files with 1 additions and 1 deletions
|
@ -806,7 +806,7 @@ module.controller('UserFederationMapperListCtrl', function($scope, $location, No
|
|||
|
||||
$scope.hasAnyMapperTypes = false;
|
||||
for (var property in mapperTypes) {
|
||||
if (!(property.startsWith('$'))) {
|
||||
if (!(property.indexOf('$') === 0)) {
|
||||
$scope.hasAnyMapperTypes = true;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue