From ed5386771a9e21b5e8686fe79579ad5df61ffae3 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 21 Mar 2020 23:27:54 +0900 Subject: [PATCH] =?UTF-8?q?=E6=8B=9B=E5=BE=85=E3=82=B3=E3=83=BC=E3=83=89?= =?UTF-8?q?=E3=81=8C=E7=99=BA=E8=A1=8C=E3=81=A7=E3=81=8D=E3=81=AA=E3=81=84?= =?UTF-8?q?=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/pages/instance/settings.vue | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/client/pages/instance/settings.vue b/src/client/pages/instance/settings.vue index d11f840d8..f0a123f27 100644 --- a/src/client/pages/instance/settings.vue +++ b/src/client/pages/instance/settings.vue @@ -345,6 +345,20 @@ export default Vue.extend({ }, methods: { + invite() { + this.$root.api('admin/invite').then(x => { + this.$root.dialog({ + type: 'info', + text: x.code + }); + }).catch(e => { + this.$root.dialog({ + type: 'error', + text: e + }); + }); + }, + addPinUser() { this.$root.new(MkUserSelect, {}).$once('selected', user => { this.pinnedUsers = this.pinnedUsers.trim();