From f2315ec0e2419826b9aba5dcc3f12fa15f03ed48 Mon Sep 17 00:00:00 2001 From: Wei Zhou Date: Fri, 17 Sep 2021 09:26:55 +0200 Subject: [PATCH] ui: list static routes with listall=true (#5463) --- 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 048025f69ef..7041bcea4fd 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)