[REF] mail: remove obsolete chatter channel condition

The chatter is no longer displayed on the channel view.

Part of task-3265211

Part-of: odoo/odoo#125388
This commit is contained in:
Sébastien Theys
2023-06-19 16:39:55 +02:00
parent 184981b74a
commit 97259f8076
+1 -1
View File
@@ -38,7 +38,7 @@
<span class="o-mail-Followers-counter ps-1" t-esc="state.thread.followers.length"/>
</t>
<t t-set-slot="default">
<t t-if="this.props.threadModel !== 'discuss.channel' and state.thread.hasWriteAccess">
<t t-if="state.thread.hasWriteAccess">
<a class="dropdown-item" href="#" role="menuitem" t-on-click.prevent="onClickAddFollowers">
Add Followers
</a>