Skip to content

Commit

Permalink
Make sure group roles appear for all moderators in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
tibetsprague committed May 4, 2023
1 parent fac2bfa commit 9f39b44
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/graphql/fragments/groupFieldsFragment.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ const groupFieldsFragment = ({ withTopics, withJoinQuestions, withPrerequisites,
id
name
avatarUrl
groupRoles {
name
emoji
active
groupId
}
}
}
parentGroups {
Expand Down
6 changes: 6 additions & 0 deletions src/graphql/fragments/groupQueryFragment.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,12 @@ export default () => {
avatarUrl
lastActiveAt
name
groupRoles {
name
emoji
active
groupId
}
}
}
openOffersAndRequests: posts(types: ["offer", "request"], isFulfilled: false, first: 4) {
Expand Down

0 comments on commit 9f39b44

Please sign in to comment.