From a211f94a91a09ee49d7994673f18e935a5ab05b8 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Tue, 19 Sep 2017 13:11:23 -0300 Subject: [PATCH] Adding status to the FE Query --- .../coral-admin/src/routes/Community/containers/Community.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/coral-admin/src/routes/Community/containers/Community.js b/client/coral-admin/src/routes/Community/containers/Community.js index 2b9dbbe74..783611e6d 100644 --- a/client/coral-admin/src/routes/Community/containers/Community.js +++ b/client/coral-admin/src/routes/Community/containers/Community.js @@ -58,7 +58,8 @@ CommunityContainer.propTypes = { const withData = withQuery(gql` query TalkAdmin_FlaggedUsernamesCount { flaggedUsernamesCount: userCount(query: { - action_type: FLAG + action_type: FLAG, + statuses: [PENDING] }) ...${getDefinitionName(FlaggedAccounts.fragments.root)} ...${getDefinitionName(FlaggedUser.fragments.root)}