Skip to content

Commit

Permalink
Feat(user): only display for active users
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenikAdrien committed Oct 25, 2024
1 parent eb3ff5b commit 0df3dba
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/graphql/queries/skills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,12 @@ export const GET_USERS_SKILLS_AND_DESIRES_DETAIL_QUERY = gql`
id
name
UsersCurrentSkillsAndDesires(
order_by: { skillLevel: desc, desireLevel: desc }
where: { User: { active: { _eq: true } } }
) {
skillLevel
desireLevel
User(where: { active: { _eq: true } }): {
User {
active
name
picture
email
Expand Down Expand Up @@ -231,7 +232,7 @@ export const GET_USERS_SKILLS_AND_DESIRES_DETAIL_BY_AGENCY_QUERY = gql`
) {
skillLevel
desireLevel
User(where: { active: { _eq: true } }): {
User {
name
picture
email
Expand Down

0 comments on commit 0df3dba

Please sign in to comment.