From a5e0794ec804904405e6b3deef24bdcadb4ad075 Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 15 Sep 2022 13:13:51 +0200 Subject: [PATCH] style in groupList for locationName and radius --- webapp/components/Group/GroupList.vue | 17 ++++------------- webapp/pages/group/create.vue | 2 ++ 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/webapp/components/Group/GroupList.vue b/webapp/components/Group/GroupList.vue index 5206f8297..590243277 100644 --- a/webapp/components/Group/GroupList.vue +++ b/webapp/components/Group/GroupList.vue @@ -30,6 +30,10 @@ {{ category.name }} + +
{{ item.locationName }}
+
{{ item.actionRadius }}
+
@@ -54,23 +58,10 @@ export default { items: { type: Array, default: () => [] }, }, methods: { - removePending() { - alert('removePending group') - }, editGroup(item) { this.$router.push({ path: `/group/edit/${item.id}` }) }, - deleteGroup() { - alert('delete group') - }, - unfollowGroup() { - alert('unfollow group') - }, async joinGroup(value) { - alert('addMemeberToGroup group') - console.log(value) - console.log(this.$store.getters['auth/user'].id) - const { id } = value const variables = { groupId: id, userId: this.$store.getters['auth/user'].id } try { diff --git a/webapp/pages/group/create.vue b/webapp/pages/group/create.vue index 9073b333c..0a050c7cc 100644 --- a/webapp/pages/group/create.vue +++ b/webapp/pages/group/create.vue @@ -29,6 +29,8 @@ export default { }, methods: { async createGroup(value) { + console.log('createGroup') + console.log(value) const { name, about, description, groupType, actionRadius, locationName, categoryIds } = value const variables = { name, about, description, groupType, actionRadius, locationName, categoryIds } try {