1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-26 23:04:16 +02:00
This commit is contained in:
syuilo
2020-09-05 11:14:42 +09:00
parent 190486d841
commit c399e3151e
73 changed files with 329 additions and 254 deletions

View File

@@ -44,7 +44,7 @@ export default defineComponent({
methods: {
upload() {
return new Promise((ok) => {
const dialog = this.$root.dialog({
const dialog = this.$root.showDialog({
type: 'waiting',
text: this.$t('uploading') + '...',
showOkButton: false,
@@ -80,7 +80,7 @@ export default defineComponent({
fileIds: file ? [file.id] : undefined,
}).then(() => {
this.posted = true;
this.$root.dialog({
this.$root.showDialog({
type: 'success',
iconOnly: true, autoClose: true
});