summaryrefslogtreecommitdiff
path: root/src/client/pages
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2021-01-23 16:52:50 +0900
committersyuilo <syuilotan@yahoo.co.jp>2021-01-23 16:52:50 +0900
commitfe52f7c392a87c70db7dfd140b618381d5963cec (patch)
treeb5665e2045aeecb4b46e1da5eea65209bf16f3b8 /src/client/pages
parentAdd misskey update page (diff)
parentグループの編集画面をウィンドウで開けないバグを修正 (... (diff)
downloadmisskey-fe52f7c392a87c70db7dfd140b618381d5963cec.tar.gz
misskey-fe52f7c392a87c70db7dfd140b618381d5963cec.tar.bz2
misskey-fe52f7c392a87c70db7dfd140b618381d5963cec.zip
Merge branch 'develop' of https://github.com/syuilo/misskey into develop
Diffstat (limited to 'src/client/pages')
-rw-r--r--src/client/pages/my-groups/group.vue11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/client/pages/my-groups/group.vue b/src/client/pages/my-groups/group.vue
index d0d83c9c0e..ab6dc85399 100644
--- a/src/client/pages/my-groups/group.vue
+++ b/src/client/pages/my-groups/group.vue
@@ -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', {