mirror of https://github.com/OpenVidu/openvidu.git
ov-components: move loading state update to ngAfterContentChecked lifecycle hook
parent
a64cf1d577
commit
6f97b9d8c2
|
@ -77,11 +77,11 @@ export class PreJoinComponent implements OnInit, OnDestroy {
|
|||
this.subscribeToPrejoinDirectives();
|
||||
await this.initializeDevices();
|
||||
this.windowSize = window.innerWidth;
|
||||
this.isLoading = false;
|
||||
}
|
||||
|
||||
ngAfterContentChecked(): void {
|
||||
this.changeDetector.detectChanges();
|
||||
this.isLoading = false;
|
||||
}
|
||||
|
||||
async ngOnDestroy() {
|
||||
|
|
Loading…
Reference in New Issue