From 9e8be345e845a5a34bd99ec9b183c28d6c6bd748 Mon Sep 17 00:00:00 2001 From: Ben Stein Date: Thu, 12 Oct 2023 10:09:04 -0400 Subject: [PATCH] Update with team hub fix --- .../src/app/game/pages/game-page/game-page.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/gameboard-ui/src/app/game/pages/game-page/game-page.component.ts b/projects/gameboard-ui/src/app/game/pages/game-page/game-page.component.ts index 9ec4fa678..231a0b010 100644 --- a/projects/gameboard-ui/src/app/game/pages/game-page/game-page.component.ts +++ b/projects/gameboard-ui/src/app/game/pages/game-page/game-page.component.ts @@ -185,6 +185,9 @@ export class GamePageComponent implements OnDestroy { if (this.ctxIds.playerId || null !== this.enrolledPlayerId$.value || null) { this.enrolledPlayerId$.next(this.ctxIds.playerId || null); + + // join the team-up hub for this team/game + this.hub.init(ctx.player.teamId); } }), tap(c => { if (!c.game) { router.navigateByUrl("/"); } })