summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-11-04 18:35:55 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-11-04 18:35:55 +0900
commit7fe0d71e7fd954042d61a026bc9476a855e6a7d6 (patch)
tree4c61a87ddf040a82c64040251d1ce02c3e7f3dd1 /src
parent:art: (diff)
downloadsharkey-7fe0d71e7fd954042d61a026bc9476a855e6a7d6.tar.gz
sharkey-7fe0d71e7fd954042d61a026bc9476a855e6a7d6.tar.bz2
sharkey-7fe0d71e7fd954042d61a026bc9476a855e6a7d6.zip
[Client] Fix bug
Diffstat (limited to 'src')
-rw-r--r--src/client/app/admin/views/users.vue16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/client/app/admin/views/users.vue b/src/client/app/admin/views/users.vue
index 7b2091f19f..ed9f372f09 100644
--- a/src/client/app/admin/views/users.vue
+++ b/src/client/app/admin/views/users.vue
@@ -67,11 +67,11 @@ export default Vue.extend({
const process = async () => {
const user = await (this as any).os.api('users/show', parseAcct(this.verifyUsername));
await (this as any).os.api('admin/verify-user', { userId: user.id });
- (this as any).os.apis.dialog({ text: '%i18n:@verified%' });
+ //(this as any).os.apis.dialog({ text: '%i18n:@verified%' });
};
await process().catch(e => {
- (this as any).os.apis.dialog({ text: `Failed: ${e}` });
+ //(this as any).os.apis.dialog({ text: `Failed: ${e}` });
});
this.verifying = false;
@@ -83,11 +83,11 @@ export default Vue.extend({
const process = async () => {
const user = await (this as any).os.api('users/show', parseAcct(this.unverifyUsername));
await (this as any).os.api('admin/unverify-user', { userId: user.id });
- (this as any).os.apis.dialog({ text: '%i18n:@unverified%' });
+ //(this as any).os.apis.dialog({ text: '%i18n:@unverified%' });
};
await process().catch(e => {
- (this as any).os.apis.dialog({ text: `Failed: ${e}` });
+ //(this as any).os.apis.dialog({ text: `Failed: ${e}` });
});
this.unverifying = false;
@@ -99,11 +99,11 @@ export default Vue.extend({
const process = async () => {
const user = await (this as any).os.api('users/show', parseAcct(this.suspendUsername));
await (this as any).os.api('admin/suspend-user', { userId: user.id });
- (this as any).os.apis.dialog({ text: '%i18n:@suspended%' });
+ //(this as any).os.apis.dialog({ text: '%i18n:@suspended%' });
};
await process().catch(e => {
- (this as any).os.apis.dialog({ text: `Failed: ${e}` });
+ //(this as any).os.apis.dialog({ text: `Failed: ${e}` });
});
this.suspending = false;
@@ -115,11 +115,11 @@ export default Vue.extend({
const process = async () => {
const user = await (this as any).os.api('users/show', parseAcct(this.unsuspendUsername));
await (this as any).os.api('admin/unsuspend-user', { userId: user.id });
- (this as any).os.apis.dialog({ text: '%i18n:@unsuspended%' });
+ //(this as any).os.apis.dialog({ text: '%i18n:@unsuspended%' });
};
await process().catch(e => {
- (this as any).os.apis.dialog({ text: `Failed: ${e}` });
+ //(this as any).os.apis.dialog({ text: `Failed: ${e}` });
});
this.unsuspending = false;