From f66b812a7c739ce21dab6268f14ca30fe66be099 Mon Sep 17 00:00:00 2001 From: Sandro Date: Wed, 22 Nov 2023 09:34:09 +0100 Subject: [PATCH] fix handling for events --- src/app/pages/event/events/events.page.html | 10 ---------- src/app/pages/event/events/events.page.ts | 12 ++++++------ src/app/pages/helfer/helfer/helfer.page.html | 11 +---------- 3 files changed, 7 insertions(+), 26 deletions(-) diff --git a/src/app/pages/event/events/events.page.html b/src/app/pages/event/events/events.page.html index 496fce1d..b15b5b1b 100644 --- a/src/app/pages/event/events/events.page.html +++ b/src/app/pages/event/events/events.page.html @@ -140,16 +140,6 @@

- - - - - - - - diff --git a/src/app/pages/event/events/events.page.ts b/src/app/pages/event/events/events.page.ts index 3cfb9740..e1db5ab2 100644 --- a/src/app/pages/event/events/events.page.ts +++ b/src/app/pages/event/events/events.page.ts @@ -175,12 +175,12 @@ export class EventsPage implements OnInit { `Set Status ${status} for user ${this.user.uid} and club ${event.clubId} and event ${event.id}` ); - /*await this.eventService.setTeamEventAttendeeStatus( + await this.eventService.setClubEventAttendeeStatus( this.user.uid, status, - event.teamId, + event.clubId, event.id - );*/ + ); this.presentToast(); } @@ -190,12 +190,12 @@ export class EventsPage implements OnInit { console.log( `Set Status ${status} for user ${this.user.uid} and club ${event.clubId} and event ${event.id}` ); - /*await this.eventService.setTeamEventAttendeeStatus( + await this.eventService.setClubEventAttendeeStatus( this.user.uid, status, - event.teamId, + event.clubId, event.id - );*/ + ); this.presentToast(); } diff --git a/src/app/pages/helfer/helfer/helfer.page.html b/src/app/pages/helfer/helfer/helfer.page.html index 0f0dd024..a99eaaba 100644 --- a/src/app/pages/helfer/helfer/helfer.page.html +++ b/src/app/pages/helfer/helfer/helfer.page.html @@ -139,16 +139,7 @@

- - - - - - - - +