Skip to content

Commit 936b0ff

Browse files
authored
fix: admin dashboard team member count bug (hoppscotch#5143)
1 parent 2bd3f36 commit 936b0ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/hoppscotch-sh-admin/src/helpers/backend/gql/queries/TeamList.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ query TeamList($cursor: ID, $take: Int) {
33
allTeams(cursor: $cursor, take: $take) {
44
id
55
name
6-
members {
6+
teamMembers {
77
membershipID
88
}
99
}

packages/hoppscotch-sh-admin/src/pages/teams/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
</td>
4949

5050
<td class="py-4 px-8">
51-
{{ team.members?.length }}
51+
{{ team.teamMembers?.length }}
5252
</td>
5353

5454
<td @click.stop class="flex justify-end mr-10">

0 commit comments

Comments
 (0)