[FIX] mail: guard message view
add guard on onMouseenter/onMouseleave task-2901855 closes odoo/odoo#99477 X-original-commit: 7ce86d6c90062c9f8eef0ba7337d773e6a79f5ec Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
@@ -126,9 +126,15 @@ registerModel({
|
||||
});
|
||||
},
|
||||
onMouseenter() {
|
||||
if (!this.exists()) {
|
||||
return;
|
||||
}
|
||||
this.update({ isHovered: true });
|
||||
},
|
||||
onMouseleave() {
|
||||
if (!this.exists()) {
|
||||
return;
|
||||
}
|
||||
this.update({
|
||||
isHovered: false,
|
||||
messagingAsClickedMessageView: clear(),
|
||||
|
||||
Reference in New Issue
Block a user