diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-03-21 23:27:54 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-03-21 23:27:54 +0900 |
| commit | ed5386771a9e21b5e8686fe79579ad5df61ffae3 (patch) | |
| tree | 3b83865f5b5f2201724ad480472605b918f9a0a5 /src | |
| parent | Update CHANGELOG.md (diff) | |
| download | sharkey-ed5386771a9e21b5e8686fe79579ad5df61ffae3.tar.gz sharkey-ed5386771a9e21b5e8686fe79579ad5df61ffae3.tar.bz2 sharkey-ed5386771a9e21b5e8686fe79579ad5df61ffae3.zip | |
招待コードが発行できない問題を修正
Diffstat (limited to 'src')
| -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(); |