forked from potsda.mn/mobilizon
Fix mediaSize being requested for every group
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
68d4dc3301
commit
8140f5e227
|
@ -84,7 +84,6 @@ export const GROUP_FIELDS_FRAGMENTS = gql`
|
|||
id
|
||||
url
|
||||
}
|
||||
mediaSize
|
||||
organizedEvents(
|
||||
afterDatetime: $afterDateTime
|
||||
beforeDatetime: $beforeDateTime
|
||||
|
@ -214,6 +213,7 @@ export const GET_GROUP = gql`
|
|||
$organisedEventslimit: Int
|
||||
) {
|
||||
getGroup(id: $id) {
|
||||
mediaSize
|
||||
...GroupFullFields
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue