From 16b7ac5a8777fefedd5d22b72e886a6effb7e782 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Fri, 29 Mar 2019 18:35:47 +0900 Subject: [PATCH] Fix #4593 (#4594) --- .../common/views/components/settings/profile.vue | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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') }); }); },