Participation panel revamp and fixes
Apollo is a pain in the ass with pagination & filters, so this removes the tabs system and uses a <select> to filter instead Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -212,6 +212,7 @@ export const LOGGED_USER_PARTICIPATIONS = gql`
|
||||
}
|
||||
}
|
||||
participantStats {
|
||||
going
|
||||
notApproved
|
||||
participant
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import gql from "graphql-tag";
|
||||
import { COMMENT_FIELDS_FRAGMENT } from "@/graphql/comment";
|
||||
|
||||
const participantQuery = `
|
||||
role,
|
||||
@@ -466,6 +465,8 @@ export const PARTICIPANTS = gql`
|
||||
query($uuid: UUID!, $page: Int, $limit: Int, $roles: String, $actorId: ID!) {
|
||||
event(uuid: $uuid) {
|
||||
id,
|
||||
uuid,
|
||||
title,
|
||||
participants(page: $page, limit: $limit, roles: $roles, actorId: $actorId) {
|
||||
${participantsQuery}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user