mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-25 05:29:07 +01:00
parent
858460853b
commit
5a5f6a8d2b
@ -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')
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user