Merge pull request #3419 from stianst/KEYCLOAK-3781

KEYCLOAK-3781 Don't allow deleting the last key provider
This commit is contained in:
Stian Thorgersen 2016-10-25 12:31:00 +02:00 committed by GitHub
commit 317749a7fd

View file

@ -54,7 +54,7 @@
<td>{{instance.providerId}}</td>
<td>{{instance.config['priority'][0]}}</td>
<td class="kc-action-cell" kc-open="/realms/{{realm.realm}}/keys/providers/{{instance.providerId}}/{{instance.id}}">{{:: 'edit' | translate}}</td>
<td class="kc-action-cell" data-ng-click="removeInstance(instance)">{{:: 'delete' | translate}}</td>
<td class="kc-action-cell" ng-show="instances.length > 1" data-ng-click="removeInstance(instance)">{{:: 'delete' | translate}}</td>
</tr>
</tbody>
</table>