From c0a89e1868c8201789c4024d77a01d639f5d1e8d Mon Sep 17 00:00:00 2001 From: Hedi MJID Date: Sat, 26 Feb 2022 14:17:47 +0100 Subject: [PATCH 1/2] update agenda + team service --- src/app/pages/page-agenda/page-agenda.component.scss | 2 +- src/app/services/team.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/pages/page-agenda/page-agenda.component.scss b/src/app/pages/page-agenda/page-agenda.component.scss index 95439b2..8a8fc2c 100644 --- a/src/app/pages/page-agenda/page-agenda.component.scss +++ b/src/app/pages/page-agenda/page-agenda.component.scss @@ -40,4 +40,4 @@ .fullscreen { position: absolute; top:90px; left: 0px; right: 0px; bottom: 0px; -} \ No newline at end of file +} diff --git a/src/app/services/team.service.ts b/src/app/services/team.service.ts index 1aed726..5c44182 100644 --- a/src/app/services/team.service.ts +++ b/src/app/services/team.service.ts @@ -21,7 +21,7 @@ export class TeamService { } getTeamById(id: any): Observable { - return this.http.get(`${this.apiUrl}/teams/1` + id); + return this.http.get(`${this.apiUrl}/teams/1`); } addTeam(team: Team): Observable { From b3b724ecf011ff3a8c3d2c2430dfdc255b2b95fc Mon Sep 17 00:00:00 2001 From: Hedi Date: Sun, 27 Feb 2022 15:13:50 +0100 Subject: [PATCH 2/2] update resizing event --- src/app/pages/page-agenda/page-agenda.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/pages/page-agenda/page-agenda.component.ts b/src/app/pages/page-agenda/page-agenda.component.ts index 291b1e0..1e438ae 100644 --- a/src/app/pages/page-agenda/page-agenda.component.ts +++ b/src/app/pages/page-agenda/page-agenda.component.ts @@ -188,8 +188,8 @@ export class PageAgendaComponent implements AfterViewInit { end: args.e.end(), id: args.e.id(), barColor: "#555555", - text: args.e.text(), - membre: {id:this.userId}, + text: this.rdvSplit(args.e.text()), + membre: {id:args.e.data.tags.membre}, team: {id:this.teamId} } this.evenementService.updateEvenements(event).subscribe(