Skip to content
Snippets Groups Projects
Commit ab82de70 authored by Ipsita Borisagar's avatar Ipsita Borisagar
Browse files

[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: 699672a0
Signed-off-by: default avatarAlexandre Kühn (aku) <aku@odoo.com>
parent b74dcb97
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment