Refresh VPC list after creting new one (#585)

Currently after creating a new VPC, the list
get refreshed. So refresh it after adding a
new vpc

Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rakesh 2020-08-17 13:39:10 +02:00 committed by Rohit Yadav
parent 6d4689da1b
commit 6a2e15d147
1 changed files with 1 additions and 0 deletions

View File

@ -220,6 +220,7 @@ export default {
loadingMessage: `${title} ${this.$t('label.in.progress')}`,
catchMessage: this.$t('error.fetching.async.job.result')
})
this.$emit('refresh-data')
}
}).catch(error => {
this.$notifyError(error)