Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: admin dashboard team member count bug (#5143)
Nivedin936b0fff4641
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.graphqlindex cb71b60d4..7560c5d63 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) {idname- members {+ teamMembers {membershipID}}diff --git a/packages/hoppscotch-sh-admin/src/pages/teams/index.vue b/packages/hoppscotch-sh-admin/src/pages/teams/index.vueindex 1b605ba3e..7947712a5 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 @@</td><td class="py-4 px-8">- {{ team.members?.length }}+ {{ team.teamMembers?.length }}</td><td @click.stop class="flex justify-end mr-10">