diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2019-03-29 18:35:47 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-03-29 18:35:47 +0900 |
| commit | 16b7ac5a8777fefedd5d22b72e886a6effb7e782 (patch) | |
| tree | 6c88ec37c1f2a4e0690cac60d18b013b9559d278 /src | |
| parent | Fix: View source on GitHub (#4584) (diff) | |
| download | sharkey-16b7ac5a8777fefedd5d22b72e886a6effb7e782.tar.gz sharkey-16b7ac5a8777fefedd5d22b72e886a6effb7e782.tar.bz2 sharkey-16b7ac5a8777fefedd5d22b72e886a6effb7e782.zip | |
Fix #4593 (#4594)
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/app/common/views/components/settings/profile.vue | 13 |
1 files 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') }); }); }, |