fix add rewrite annotation should not available for traefik (#6799)

pull/6808/head
Richard Wei 2022-04-22 20:02:53 +12:00 committed by GitHub
parent 3496d5f00b
commit bcec6a8915
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -303,6 +303,7 @@
</portainer-tooltip> </portainer-tooltip>
<span <span
class="label label-default interactive" class="label label-default interactive"
ng-if="ic.IngressClass.Type === $ctrl.IngressClassTypes.NGINX"
style="margin-left: 10px" style="margin-left: 10px"
ng-click="$ctrl.addRewriteAnnotation(ic)" ng-click="$ctrl.addRewriteAnnotation(ic)"
data-cy="namespaceCreate-addAnnotation{{ ic.IngressClass.Name }}" data-cy="namespaceCreate-addAnnotation{{ ic.IngressClass.Name }}"