diff --git a/webapp/components/Group/GroupForm.vue b/webapp/components/Group/GroupForm.vue
index be475a3ee..c5d997920 100644
--- a/webapp/components/Group/GroupForm.vue
+++ b/webapp/components/Group/GroupForm.vue
@@ -2,6 +2,8 @@
update: {{ update }}
+
+ this group: {{this.group}}
_id groupe page
-
{{ $route.params }}
bearbeiten
diff --git a/webapp/pages/group/edit/_id.vue b/webapp/pages/group/edit/_id.vue
index 308267f13..852aaf3ba 100644
--- a/webapp/pages/group/edit/_id.vue
+++ b/webapp/pages/group/edit/_id.vue
@@ -1,11 +1,9 @@
- {{ $router }}
- {{ group }}
@@ -47,9 +45,6 @@ export default {
user: 'auth/user',
}),
},
- data() {
- return {}
- },
async asyncData(context) {
console.log('asyncData start')
const {
@@ -75,23 +70,12 @@ export default {
return { group }
},
methods: {
- async updateGroup(form, context) {
- const {
- params: { id },
- } = context
+ async updateGroup(value) {
+ console.log('updateGroup form', value)
try {
await this.$apollo.mutate({
mutation: updateGroupMutation,
- variables: {
- id: id,
- name: form.name,
- about: form.about,
- description: form.description,
- // groupType: form.groupType,
- actionRadius: form.actionRadius,
- categoryIds: form.categoryIds,
- // locationName: ''
- },
+ variables: value,
update: (_, { data: { updateGroupData } }) => {
// const { sendNotificationEmails } = createGroup
// this.setCreateGroup({