summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/components/message_list
diff options
context:
space:
mode:
authorDidier (did) <did@odoo.com>2020-09-21 13:15:30 +0000
committerDidier (did) <did@odoo.com>2020-09-22 14:50:33 +0000
commit1b329dab9bc5fe3c2d612081ea4c8b5f63b92463 (patch)
tree059474802b1933cae24c2444931ccc006d8a253b /addons/mail/static/src/components/message_list
parent1d74680fe195a2ece367ad7251f4cc3a52dc132f (diff)
[FIX] mail: do not show "load more" on temporary thread
task-2341690 closes odoo/odoo#58246 X-original-commit: 9b56c82d3a4b07730490816a67911cbf60900158 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/mail/static/src/components/message_list')
-rw-r--r--addons/mail/static/src/components/message_list/message_list.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/components/message_list/message_list.xml b/addons/mail/static/src/components/message_list/message_list.xml
index abc83a41f0d..bff87fba3d2 100644
--- a/addons/mail/static/src/components/message_list/message_list.xml
+++ b/addons/mail/static/src/components/message_list/message_list.xml
@@ -96,7 +96,7 @@
Loading...
</div>
</t>
- <t t-elif="!threadView.threadCache.isAllHistoryLoaded">
+ <t t-elif="!threadView.threadCache.isAllHistoryLoaded and !threadView.thread.isTemporary">
<a class="o_MessageList_item o_MessageList_loadMore" href="#" t-on-click="_onClickLoadMore" t-ref="loadMore">
Load more
</a>