1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-28 17:59:45 +02:00

fix domain name selector issue (#6696)

Co-authored-by: Richard Wei <dgui.wei@gmail.com>
This commit is contained in:
Richard Wei 2022-03-30 15:50:11 +13:00 committed by GitHub
parent 8860d72f70
commit fb7f24df9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,7 +112,7 @@
ng-model="servicePort.ingress.Host" ng-model="servicePort.ingress.Host"
required required
ng-disabled="$ctrl.originalIngresses.length === 0" ng-disabled="$ctrl.originalIngresses.length === 0"
ng-options="ingress.Hosts[0] as ingress.Hosts for ingress in $ctrl.originalIngresses" ng-options="host as host for host in ($ctrl.originalIngresses | filter:{ Name: servicePort.ingress.IngressName })[0].Hosts"
data-cy="k8sAppCreate-hostnamePort_{{ $index }}" data-cy="k8sAppCreate-hostnamePort_{{ $index }}"
> >
<option selected disabled hidden value="">Select a hostname</option> <option selected disabled hidden value="">Select a hostname</option>