mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 21:37:34 -07:00
招待コードが発行できない問題を修正
This commit is contained in:
parent
f84fafd9b8
commit
6bdd4e757c
1 changed files with 14 additions and 0 deletions
|
@ -345,6 +345,20 @@ export default Vue.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
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() {
|
addPinUser() {
|
||||||
this.$root.new(MkUserSelect, {}).$once('selected', user => {
|
this.$root.new(MkUserSelect, {}).$once('selected', user => {
|
||||||
this.pinnedUsers = this.pinnedUsers.trim();
|
this.pinnedUsers = this.pinnedUsers.trim();
|
||||||
|
|
Loading…
Reference in a new issue