fix domain name selector issue (#6696)

Co-authored-by: Richard Wei <dgui.wei@gmail.com>
pull/6714/head
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
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@
ng-model="servicePort.ingress.Host"
required
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 }}"
>
<option selected disabled hidden value="">Select a hostname</option>