mirror of https://github.com/rancher/ui.git
Fix the issue that users have to refresh the page to see the ingress detail page
This commit is contained in:
parent
97cf30d5cd
commit
dd035a4c7b
|
|
@ -25,6 +25,7 @@
|
||||||
{{form-ingress-rule
|
{{form-ingress-rule
|
||||||
editing=true
|
editing=true
|
||||||
ingress=ingress
|
ingress=ingress
|
||||||
|
namespace=namespace
|
||||||
}}
|
}}
|
||||||
<hr class="mt-30 mb-30" />
|
<hr class="mt-30 mb-30" />
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@
|
||||||
<section class="mt-40 horizontal-form container-fluid">
|
<section class="mt-40 horizontal-form container-fluid">
|
||||||
{{form-ingress-rule
|
{{form-ingress-rule
|
||||||
ingress=model.ingress
|
ingress=model.ingress
|
||||||
|
namespace=model.ingress.namespace
|
||||||
editing=false
|
editing=false
|
||||||
}}
|
}}
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,5 @@
|
||||||
editing=true
|
editing=true
|
||||||
existing=model.existing
|
existing=model.existing
|
||||||
ingress=model.ingress
|
ingress=model.ingress
|
||||||
namespace=model.ingress.namespace
|
|
||||||
namespacedCertificates=model.namespacedcertificates
|
namespacedCertificates=model.namespacedcertificates
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@
|
||||||
obj=path.service
|
obj=path.service
|
||||||
selectClass="input-sm"
|
selectClass="input-sm"
|
||||||
selected=path.serviceId
|
selected=path.serviceId
|
||||||
selectedNamespace=ingress.namespace
|
selectedNamespace=namespace
|
||||||
}}
|
}}
|
||||||
{{else if (eq path.backendType 'workload')}}
|
{{else if (eq path.backendType 'workload')}}
|
||||||
{{schema/input-workload
|
{{schema/input-workload
|
||||||
|
|
@ -61,7 +61,7 @@
|
||||||
readOnly=(not editing)
|
readOnly=(not editing)
|
||||||
selectClass="input-sm"
|
selectClass="input-sm"
|
||||||
selected=path.serviceId
|
selected=path.serviceId
|
||||||
selectedNamespace=ingress.namespace
|
selectedNamespace=namespace
|
||||||
}}
|
}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</td>
|
</td>
|
||||||
|
|
|
||||||
|
|
@ -86,6 +86,7 @@
|
||||||
|
|
||||||
{{form-ingress-backends
|
{{form-ingress-backends
|
||||||
ingress=ingress
|
ingress=ingress
|
||||||
|
namespace=namespace
|
||||||
isDefault=isDefault
|
isDefault=isDefault
|
||||||
rule=rule
|
rule=rule
|
||||||
editing=editing
|
editing=editing
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
{{form-ingress-rows
|
{{form-ingress-rows
|
||||||
editing=editing
|
editing=editing
|
||||||
ingress=ingress
|
ingress=ingress
|
||||||
|
namespace=namespace
|
||||||
removeRule=(action 'removeRule')
|
removeRule=(action 'removeRule')
|
||||||
rule=rule
|
rule=rule
|
||||||
rules=rules
|
rules=rules
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue