reload view after remote upload was finished

This commit is contained in:
Čarodej
2022-04-20 19:20:48 +02:00
parent dc8e3c8141
commit e4dd9de931
4 changed files with 8 additions and 6 deletions

View File

@@ -93,10 +93,13 @@ export default {
.then(() => {
events.$emit('toaster', {
type: 'success',
message: this.$t('remote_download_submitted'),
message: this.$t('remote_download_processed'),
})
events.$emit('popup:close')
// Reload data
this.$getDataByLocation()
})
.catch((error) => {
if (error.response.status === 422) {