Merge branch 'develop' of https://github.com/syuilo/misskey into develop
This commit is contained in:
commit
fe52f7c392
3 changed files with 11 additions and 4 deletions
|
@ -45,6 +45,13 @@ export default defineComponent({
|
|||
MkButton
|
||||
},
|
||||
|
||||
props: {
|
||||
groupId: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
|
||||
data() {
|
||||
return {
|
||||
INFO: computed(() => this.group ? {
|
||||
|
@ -58,7 +65,7 @@ export default defineComponent({
|
|||
},
|
||||
|
||||
watch: {
|
||||
$route: 'fetch'
|
||||
groupId: 'fetch',
|
||||
},
|
||||
|
||||
created() {
|
||||
|
@ -69,7 +76,7 @@ export default defineComponent({
|
|||
fetch() {
|
||||
Progress.start();
|
||||
os.api('users/groups/show', {
|
||||
groupId: this.$route.params.group
|
||||
groupId: this.groupId
|
||||
}).then(group => {
|
||||
this.group = group;
|
||||
os.api('users/show', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue