[FIX] mail: avoid loading state when a new message is posted

task-2346786

closes odoo/odoo#58849

X-original-commit: cfc280f5386de44ffac1c1c27e8a0a7d928a8424
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
Didier (did)
2020-09-29 15:37:39 +00:00
parent 9530af25d4
commit 91f9520ef0
@@ -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>