From 91446648608332a953c64bea6fa80be816230cf0 Mon Sep 17 00:00:00 2001 From: Joshua Sangmeister Date: Wed, 7 Feb 2024 15:30:04 +0100 Subject: [PATCH] Fix autopilot --- .../autopilot/components/autopilot/autopilot.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/app/site/pages/meetings/pages/autopilot/components/autopilot/autopilot.component.ts b/client/src/app/site/pages/meetings/pages/autopilot/components/autopilot/autopilot.component.ts index 894b4296ed..35dc104c5c 100644 --- a/client/src/app/site/pages/meetings/pages/autopilot/components/autopilot/autopilot.component.ts +++ b/client/src/app/site/pages/meetings/pages/autopilot/components/autopilot/autopilot.component.ts @@ -117,7 +117,9 @@ export class AutopilotComponent extends BaseMeetingComponent implements OnInit { this.projector = refProjector; const currentProjections = refProjector.nonStableCurrentProjections; this._currentProjection = - currentProjections.length > 0 && !!currentProjections[0].type ? currentProjections[0] : null; + currentProjections.length > 0 && !!currentProjections[0].meeting_id + ? currentProjections[0] + : null; this.projectedViewModel = this._currentProjection?.content_object || null; } }),