Fix: エクスポートリクエストに失敗してもエラーが出ない (#4821)
This commit is contained in:
parent
7513123052
commit
b85dc8a658
1 changed files with 11 additions and 6 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue