Merge remote-tracking branch 'origin/4.15' into main

This commit is contained in:
Rohit Yadav 2021-09-17 12:57:44 +05:30
commit 939ef4ec4b
1 changed files with 4 additions and 1 deletions

View File

@ -125,7 +125,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)