[FIX] mail: fix alignement for chatter in window

Before this commit:

For chatter in window, the name of the record is not in an appropriate place in
header as there is an empty space before name.

After this commit:

The name of the record is aligned to the left, and there is no empty space
before the name.

LINKS

Task- 2442652
PR https://github.com/odoo/odoo/pull/65600

closes odoo/odoo#66838

X-original-commit: 699672a0ff474f4550d92657ab22f9c92c7b3b42
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
Ipsita Borisagar
2021-02-25 12:44:06 +00:00
parent b74dcb975d
commit ab82de7086
2 changed files with 2 additions and 1 deletions
@@ -33,6 +33,7 @@ class ChatWindowHeader extends Component {
thread,
threadLocalMessageUnreadCounter: thread && thread.localMessageUnreadCounter,
threadMassMailing: thread && thread.mass_mailing,
threadModel: thread && thread.model,
};
});
}
@@ -9,7 +9,7 @@
<i class="fa fa-arrow-left"/>
</div>
</t>
<t t-if="chatWindow.thread">
<t t-if="chatWindow.thread and chatWindow.thread.model === 'mail.channel'">
<ThreadIcon
class="o_ChatWindowHeader_icon o_ChatWindowHeader_item"
threadLocalId="chatWindow.thread.localId"