From 212ad3aae928b7760059af652050e5faec566a40 Mon Sep 17 00:00:00 2001 From: ogerly Date: Wed, 17 Aug 2022 10:47:16 +0200 Subject: [PATCH] add query searchAdminUsers --- frontend/src/graphql/queries.js | 12 ++++++++++++ frontend/src/pages/InfoStatistic.vue | 28 +++++++++++++++++++++------- 2 files changed, 33 insertions(+), 7 deletions(-) diff --git a/frontend/src/graphql/queries.js b/frontend/src/graphql/queries.js index 58549750c..03299dd49 100644 --- a/frontend/src/graphql/queries.js +++ b/frontend/src/graphql/queries.js @@ -243,3 +243,15 @@ export const communityStatistics = gql` } } ` + +export const searchAdminUsers = gql` + query { + searchAdminUsers { + userCount + userList { + firstName + lastName + } + } + } +` diff --git a/frontend/src/pages/InfoStatistic.vue b/frontend/src/pages/InfoStatistic.vue index 24ae11013..1c8619bbe 100644 --- a/frontend/src/pages/InfoStatistic.vue +++ b/frontend/src/pages/InfoStatistic.vue @@ -37,7 +37,9 @@
{{ $t('community.moderators') }}
{{ supportMail }}
@@ -79,7 +81,7 @@