mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-10 15:32:05 -03:30
KEYCLOAK-2760
Cannot delete a client template mapper with a little trash icon in heading
This commit is contained in:
parent
8de8446cb5
commit
729d73bb17
@ -1929,7 +1929,7 @@ module.controller('ClientTemplateProtocolMapperCtrl', function($scope, realm, se
|
||||
};
|
||||
|
||||
$scope.remove = function() {
|
||||
Dialog.confirmDelete($scope.mapper.name, 'mapper', function() {
|
||||
Dialog.confirmDelete($scope.model.mapper.name, 'mapper', function() {
|
||||
ClientTemplateProtocolMapper.remove({ realm: realm.realm, template: template.id, id : $scope.model.mapper.id }, function() {
|
||||
Notifications.success("The mapper has been deleted.");
|
||||
$location.url("/realms/" + realm.realm + '/client-templates/' + template.id + "/mappers");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user