diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-03-22 10:59:27 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-03-22 10:59:27 +0900 |
| commit | 7f0084a7ede7a3950ea6bdaeadd744f602d010cf (patch) | |
| tree | e339d8002b094f18dccabf364479aaab056ee0dd /src/client/pages/instance | |
| parent | Merge branch 'develop' (diff) | |
| parent | 12.23.0 (diff) | |
| download | misskey-7f0084a7ede7a3950ea6bdaeadd744f602d010cf.tar.gz misskey-7f0084a7ede7a3950ea6bdaeadd744f602d010cf.tar.bz2 misskey-7f0084a7ede7a3950ea6bdaeadd744f602d010cf.zip | |
Merge branch 'develop'
Diffstat (limited to 'src/client/pages/instance')
| -rw-r--r-- | src/client/pages/instance/settings.vue | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/client/pages/instance/settings.vue b/src/client/pages/instance/settings.vue index d11f840d8f..f0a123f279 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(); |