Don't show 'no comments' when submitting

This commit is contained in:
James Allen 2017-01-24 16:56:08 +01:00
parent f9ba7392e9
commit 798e09f011

View file

@ -180,7 +180,7 @@ script(type='text/ng-template', id='commentEntryTemplate')
ng-class="{ 'rp-entry-focused': entry.focused, 'rp-entry-comment-resolving': state.animating }" ng-class="{ 'rp-entry-focused': entry.focused, 'rp-entry-comment-resolving': state.animating }"
) )
.rp-loading(ng-if="!threads[entry.thread_id] || threads[entry.thread_id].messages.length == 0") .rp-loading(ng-if="!threads[entry.thread_id].submitting && (!threads[entry.thread_id] || threads[entry.thread_id].messages.length == 0)")
| No comments | No comments
div div
.rp-comment( .rp-comment(