summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorDidier (did) <did@odoo.com>2020-09-28 07:21:35 +0000
committerDidier (did) <did@odoo.com>2020-09-29 15:11:46 +0000
commit210b5feb00d4163d85c928c8100b3601dc11b4e8 (patch)
tree024e00844d2e8ecdf80ef0bf8da92b05d3a3d745 /addons
parent783af6099cc1d97eed226fad001d707aa8cb1957 (diff)
[FIX] mail: avoid loading state when a new message is posted
task-2346786 closes odoo/odoo#58843 X-original-commit: cfc280f5386de44ffac1c1c27e8a0a7d928a8424 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com> Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons')
-rw-r--r--addons/mail/static/src/components/thread_view/thread_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/components/thread_view/thread_view.xml b/addons/mail/static/src/components/thread_view/thread_view.xml
index 25e93400368..f637074f0b6 100644
--- a/addons/mail/static/src/components/thread_view/thread_view.xml
+++ b/addons/mail/static/src/components/thread_view/thread_view.xml
@@ -4,7 +4,7 @@
<t t-name="mail.ThreadView" owl="1">
<div class="o_ThreadView" t-att-data-correspondent-id="threadView and threadView.thread and threadView.thread.correspondent and threadView.thread.correspondent.id" t-att-data-thread-local-id="threadView and threadView.thread and threadView.thread.localId">
<t t-if="threadView">
- <t t-if="threadView.isLoading" name="loadingCondition">
+ <t t-if="threadView.isLoading and !threadView.threadCache.isLoaded" name="loadingCondition">
<div class="o_ThreadView_loading">
<span><i class="o_ThreadView_loadingIcon fa fa-spinner fa-spin" title="Loading..." role="img"/>Loading...</span>
</div>