[FIX] mail: guard ChatWindow/onClickHandler (nightly build failure)

closes odoo/odoo#100132

Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
This commit is contained in:
Alexandre Kühn
2022-09-15 00:30:26 +02:00
parent a68cc656e8
commit 486cd602fc
@@ -175,6 +175,9 @@ registerModel({
* @param {MouseEvent} ev
*/
onClickExpand(ev) {
if (!this.exists()) {
return;
}
ev.stopPropagation();
this.expand();
},