グループの編集画面をウィンドウで開けないバグを修正 (#7100)

This commit is contained in:
sobadon 2021-01-18 00:53:48 +09:00 committed by GitHub
parent b224760aba
commit 3762cdc8c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 3 deletions

View file

@ -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', {