diff --git a/src/client/app/admin/views/announcements.vue b/src/client/app/admin/views/announcements.vue index 4eea9dd948..0e983c5a97 100644 --- a/src/client/app/admin/views/announcements.vue +++ b/src/client/app/admin/views/announcements.vue @@ -54,9 +54,9 @@ export default Vue.extend({ (this as any).api('admin/update-meta', { broadcasts: this.announcements }).then(() => { - (this as any).os.apis.dialog({ text: `Saved` }); + //(this as any).os.apis.dialog({ text: `Saved` }); }).catch(e => { - (this as any).os.apis.dialog({ text: `Failed ${e}` }); + //(this as any).os.apis.dialog({ text: `Failed ${e}` }); }); } } diff --git a/src/client/app/admin/views/emoji.vue b/src/client/app/admin/views/emoji.vue index 18a41451ce..f49a3ba763 100644 --- a/src/client/app/admin/views/emoji.vue +++ b/src/client/app/admin/views/emoji.vue @@ -70,10 +70,10 @@ export default Vue.extend({ url: this.url, aliases: this.aliases.split(' ') }).then(() => { - (this as any).os.apis.dialog({ text: `Added` }); + //(this as any).os.apis.dialog({ text: `Added` }); this.fetchEmojis(); }).catch(e => { - (this as any).os.apis.dialog({ text: `Failed ${e}` }); + //(this as any).os.apis.dialog({ text: `Failed ${e}` }); }); }, @@ -91,9 +91,9 @@ export default Vue.extend({ url: emoji.url, aliases: emoji.aliases.split(' ') }).then(() => { - (this as any).os.apis.dialog({ text: `Updated` }); + //(this as any).os.apis.dialog({ text: `Updated` }); }).catch(e => { - (this as any).os.apis.dialog({ text: `Failed ${e}` }); + //(this as any).os.apis.dialog({ text: `Failed ${e}` }); }); }, @@ -101,10 +101,10 @@ export default Vue.extend({ (this as any).api('admin/emoji/remove', { id: emoji.id }).then(() => { - (this as any).os.apis.dialog({ text: `Removed` }); + //(this as any).os.apis.dialog({ text: `Removed` }); this.fetchEmojis(); }).catch(e => { - (this as any).os.apis.dialog({ text: `Failed ${e}` }); + //(this as any).os.apis.dialog({ text: `Failed ${e}` }); }); } } diff --git a/src/client/app/admin/views/hashtags.vue b/src/client/app/admin/views/hashtags.vue index be90cea1db..1635305f17 100644 --- a/src/client/app/admin/views/hashtags.vue +++ b/src/client/app/admin/views/hashtags.vue @@ -29,9 +29,9 @@ export default Vue.extend({ (this as any).api('admin/update-meta', { hidedTags: this.hidedTags.split('\n') }).then(() => { - (this as any).os.apis.dialog({ text: `Saved` }); + //(this as any).os.apis.dialog({ text: `Saved` }); }).catch(e => { - (this as any).os.apis.dialog({ text: `Failed ${e}` }); + //(this as any).os.apis.dialog({ text: `Failed ${e}` }); }); } } diff --git a/src/client/app/admin/views/instance.vue b/src/client/app/admin/views/instance.vue index a6e89f8ab2..1278f38a91 100644 --- a/src/client/app/admin/views/instance.vue +++ b/src/client/app/admin/views/instance.vue @@ -43,7 +43,7 @@ export default Vue.extend({ (this as any).api('admin/invite').then(x => { this.inviteCode = x.code; }).catch(e => { - (this as any).os.apis.dialog({ text: `Failed ${e}` }); + //(this as any).os.apis.dialog({ text: `Failed ${e}` }); }); }, updateMeta() { @@ -52,9 +52,9 @@ export default Vue.extend({ disableLocalTimeline: this.disableLocalTimeline, bannerUrl: this.bannerUrl }).then(() => { - (this as any).os.apis.dialog({ text: `Saved` }); + //(this as any).os.apis.dialog({ text: `Saved` }); }).catch(e => { - (this as any).os.apis.dialog({ text: `Failed ${e}` }); + //(this as any).os.apis.dialog({ text: `Failed ${e}` }); }); } }