[FIX] mail: guard ChatWindowHeaderView/onClick
This handler was not properly guarded, and made `.TestMailChannelExpand` fail on runbot. closes odoo/odoo#100588 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
@@ -11,6 +11,9 @@ registerModel({
|
||||
* @param {MouseEvent} ev
|
||||
*/
|
||||
onClick(ev) {
|
||||
if (!this.exists()) {
|
||||
return;
|
||||
}
|
||||
if (
|
||||
isEventHandled(ev, 'ChatWindow.onClickCommand') ||
|
||||
isEventHandled(ev, 'ChatWindow.onClickHideMemberList') ||
|
||||
|
||||
Reference in New Issue
Block a user