openvidu-components: Detected change after view init

This commit is contained in:
csantosm 2022-04-07 12:55:24 +02:00
parent 28606b1ff7
commit f5dada6080

View File

@ -109,7 +109,7 @@ export class ParticipantsPanelComponent implements OnInit, OnDestroy, AfterViewI
// the user has override the default participants panel but not the 'participant-panel-item'
// so the default component must be injected
this.participantPanelItemTemplate = this.defaultParticipantPanelItemTemplate
this.cd.markForCheck();
this.cd.detectChanges();
}
}