[FIX] mail: add missing guard in message template

closes odoo/odoo#76623

X-original-commit: c6292831475d260fcdc84a11b77df50014a1ff7f
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
Didier (did)
2021-09-16 07:18:23 +00:00
parent 457b3fc6cc
commit dec73ae634
@@ -7,7 +7,7 @@
'o_Message_active': isActive,
'o-clicked': state.isClicked,
'o-discussion': message and (message.is_discussion or message.is_notification),
'o-editing': message.isEditing,
'o-editing': message and message.isEditing,
'o-has-message-selection': threadView and threadView.threadViewer and threadView.threadViewer.selectedMessage,
'o-highlighted': message and message.isHighlighted,
'o-mobile': messaging and messaging.device.isMobile,