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

This commit is contained in:
Richard Wei
2022-04-22 20:02:53 +12:00
committed by GitHub
parent 3496d5f00b
commit bcec6a8915
@@ -303,6 +303,7 @@
</portainer-tooltip>
<span
class="label label-default interactive"
ng-if="ic.IngressClass.Type === $ctrl.IngressClassTypes.NGINX"
style="margin-left: 10px"
ng-click="$ctrl.addRewriteAnnotation(ic)"
data-cy="namespaceCreate-addAnnotation{{ ic.IngressClass.Name }}"