Fix: エクスポートリクエストに失敗してもエラーが出ない (#4821)

This commit is contained in:
MeiMei 2019-04-30 15:01:29 +09:00 committed by syuilo
parent 7513123052
commit b85dc8a658

View file

@ -290,12 +290,17 @@ export default Vue.extend({
this.exportTarget == 'mute' ? 'i/export-mute' :
this.exportTarget == 'blocking' ? 'i/export-blocking' :
this.exportTarget == 'user-lists' ? 'i/export-user-lists' :
null, {});
null, {}).then(() => {
this.$root.dialog({
type: 'info',
text: this.$t('export-requested')
});
}).catch((e: any) => {
this.$root.dialog({
type: 'error',
text: e.message
});
});
},
doImport() {