KEYCLOAK-3781 Don't allow deleting the last key provider

This commit is contained in:
Stian Thorgersen 2016-10-25 08:57:16 +02:00
parent dcaac76b4b
commit 8c42167302

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>