From 936b0fff4641f4fea9774dd9523bf604a973df4f Mon Sep 17 00:00:00 2001 From: Nivedin <53208152+nivedin@users.noreply.github.com> Date: Fri, 13 Jun 2025 09:57:03 +0530 Subject: [PATCH] fix: admin dashboard team member count bug (#5143) --- .../src/helpers/backend/gql/queries/TeamList.graphql | 2 +- packages/hoppscotch-sh-admin/src/pages/teams/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/hoppscotch-sh-admin/src/helpers/backend/gql/queries/TeamList.graphql b/packages/hoppscotch-sh-admin/src/helpers/backend/gql/queries/TeamList.graphql index cb71b60d..7560c5d6 100644 --- a/packages/hoppscotch-sh-admin/src/helpers/backend/gql/queries/TeamList.graphql +++ b/packages/hoppscotch-sh-admin/src/helpers/backend/gql/queries/TeamList.graphql @@ -3,7 +3,7 @@ query TeamList($cursor: ID, $take: Int) { allTeams(cursor: $cursor, take: $take) { id name - members { + teamMembers { membershipID } } diff --git a/packages/hoppscotch-sh-admin/src/pages/teams/index.vue b/packages/hoppscotch-sh-admin/src/pages/teams/index.vue index 1b605ba3..7947712a 100644 --- a/packages/hoppscotch-sh-admin/src/pages/teams/index.vue +++ b/packages/hoppscotch-sh-admin/src/pages/teams/index.vue @@ -48,7 +48,7 @@