ui: list static routes with listall=true (#5463)

This commit is contained in:
Wei Zhou 2021-09-17 09:26:55 +02:00 committed by GitHub
parent b28dd81e8e
commit f2315ec0e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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)