diff --git a/src/app/components/group/group.component.html b/src/app/components/group/group.component.html index ce18071..a903837 100644 --- a/src/app/components/group/group.component.html +++ b/src/app/components/group/group.component.html @@ -79,6 +79,14 @@ [disabled]="!isAdmin"> event +
+ +
@@ -115,14 +123,6 @@ (click)="leaveEvent(event)" [disabled]="!event.joined"> event_busy -
- -
diff --git a/src/app/services/group/group.service.ts b/src/app/services/group/group.service.ts index 7545a0e..907de7e 100644 --- a/src/app/services/group/group.service.ts +++ b/src/app/services/group/group.service.ts @@ -121,8 +121,7 @@ export class GroupService extends BaseService { public deleteGroup(groupId: number) { const body = { query: `mutation($groupId: ID!) { - deleteGroup(groupId: $groupId) { - } + deleteGroup(groupId: $groupId) }`, variables: { groupId }