diff --git a/src/client/app/common/views/components/settings/profile.vue b/src/client/app/common/views/components/settings/profile.vue index 97ad7dec6b..b9837a6966 100644 --- a/src/client/app/common/views/components/settings/profile.vue +++ b/src/client/app/common/views/components/settings/profile.vue @@ -305,11 +305,16 @@ export default Vue.extend({ this.exportTarget == 'user-lists' ? 'i/import-user-lists' : null, { fileId: file.id + }).then(() => { + this.$root.dialog({ + type: 'info', + text: this.$t('import-requested') + }); + }).catch((e: any) => { + this.$root.dialog({ + type: 'error', + text: e.message }); - - this.$root.dialog({ - type: 'info', - text: this.$t('import-requested') }); }); },