招待コードが発行できない問題を修正

This commit is contained in:
syuilo 2020-03-21 23:27:54 +09:00
parent f84fafd9b8
commit 6bdd4e757c

View file

@ -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();