[FIX] mail: fix guard on load video

task-2806331

closes odoo/odoo#87324

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
Didier (did)
2022-03-28 12:57:02 +02:00
parent 90695d16df
commit 6a0cbf8562
@@ -43,7 +43,7 @@ export class RtcVideo extends Component {
*
*/
_loadVideo() {
if (!this.root) {
if (!this.root.el) {
return;
}
if (!this.rtcSession || !this.rtcSession.videoStream) {