From a61e5875852818cc6b072e5d882509152452a2d0 Mon Sep 17 00:00:00 2001 From: Wei Zhou Date: Fri, 17 Sep 2021 08:28:03 +0200 Subject: [PATCH] UI: list static routes with listall=true --- ui/src/views/network/StaticRoutesTab.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/src/views/network/StaticRoutesTab.vue b/ui/src/views/network/StaticRoutesTab.vue index 048025f69ef0..7041bcea4fd8 100644 --- a/ui/src/views/network/StaticRoutesTab.vue +++ b/ui/src/views/network/StaticRoutesTab.vue @@ -118,7 +118,10 @@ export default { methods: { fetchData () { this.componentLoading = true - api('listStaticRoutes', { gatewayid: this.resource.id }).then(json => { + api('listStaticRoutes', { + gatewayid: this.resource.id, + listall: true + }).then(json => { this.routes = json.liststaticroutesresponse.staticroute }).catch(error => { this.$notifyError(error)