This commit is contained in:
MeiMei 2019-03-29 18:35:47 +09:00 committed by syuilo
parent 5932cb8609
commit 16b7ac5a87

View file

@ -305,11 +305,16 @@ export default Vue.extend({
this.exportTarget == 'user-lists' ? 'i/import-user-lists' : this.exportTarget == 'user-lists' ? 'i/import-user-lists' :
null, { null, {
fileId: file.id 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')
}); });
}); });
}, },