Fix the issue that users have to refresh the page to see the ingress detail page

This commit is contained in:
loganhz 2019-01-27 06:21:26 +08:00
parent 97cf30d5cd
commit dd035a4c7b
6 changed files with 6 additions and 3 deletions

View File

@ -25,6 +25,7 @@
{{form-ingress-rule
editing=true
ingress=ingress
namespace=namespace
}}
<hr class="mt-30 mb-30" />
</section>

View File

@ -19,6 +19,7 @@
<section class="mt-40 horizontal-form container-fluid">
{{form-ingress-rule
ingress=model.ingress
namespace=model.ingress.namespace
editing=false
}}
</section>

View File

@ -5,6 +5,5 @@
editing=true
existing=model.existing
ingress=model.ingress
namespace=model.ingress.namespace
namespacedCertificates=model.namespacedcertificates
}}

View File

@ -53,7 +53,7 @@
obj=path.service
selectClass="input-sm"
selected=path.serviceId
selectedNamespace=ingress.namespace
selectedNamespace=namespace
}}
{{else if (eq path.backendType 'workload')}}
{{schema/input-workload
@ -61,7 +61,7 @@
readOnly=(not editing)
selectClass="input-sm"
selected=path.serviceId
selectedNamespace=ingress.namespace
selectedNamespace=namespace
}}
{{/if}}
</td>

View File

@ -86,6 +86,7 @@
{{form-ingress-backends
ingress=ingress
namespace=namespace
isDefault=isDefault
rule=rule
editing=editing

View File

@ -6,6 +6,7 @@
{{form-ingress-rows
editing=editing
ingress=ingress
namespace=namespace
removeRule=(action 'removeRule')
rule=rule
rules=rules