From 375af11a7f63a9ea53d4ee8b477974c8a0879e95 Mon Sep 17 00:00:00 2001 From: ayeshoali Date: Tue, 18 Oct 2022 14:06:13 +0500 Subject: [PATCH] fix: no respnses text does not show while api call to load responses is in progress --- src/discussions/comments/CommentsView.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/discussions/comments/CommentsView.jsx b/src/discussions/comments/CommentsView.jsx index 1689bc7f..41a90469 100644 --- a/src/discussions/comments/CommentsView.jsx +++ b/src/discussions/comments/CommentsView.jsx @@ -71,11 +71,11 @@ function DiscussionCommentsView({ ...filterPosts(comments, 'unendorsed')], [comments]); return ( <> -
+ {!isLoading &&
{endorsed === EndorsementStatus.ENDORSED ? intl.formatMessage(messages.endorsedResponseCount, { num: sortedComments.length }) : intl.formatMessage(messages.responseCount, { num: sortedComments.length })} -
+
}
{sortedComments.map(comment => (