Explorar o código

Don't show 'no comments' when submitting

James Allen %!s(int64=9) %!d(string=hai) anos
pai
achega
798e09f011
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/web/app/views/project/editor/review-panel.jade

+ 1 - 1
services/web/app/views/project/editor/review-panel.jade

@@ -180,7 +180,7 @@ script(type='text/ng-template', id='commentEntryTemplate')
 			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
 			div
 				.rp-comment(