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
|
id
|
||||||
url
|
url
|
||||||
}
|
}
|
||||||
mediaSize
|
|
||||||
organizedEvents(
|
organizedEvents(
|
||||||
afterDatetime: $afterDateTime
|
afterDatetime: $afterDateTime
|
||||||
beforeDatetime: $beforeDateTime
|
beforeDatetime: $beforeDateTime
|
||||||
|
@ -214,6 +213,7 @@ export const GET_GROUP = gql`
|
||||||
$organisedEventslimit: Int
|
$organisedEventslimit: Int
|
||||||
) {
|
) {
|
||||||
getGroup(id: $id) {
|
getGroup(id: $id) {
|
||||||
|
mediaSize
|
||||||
...GroupFullFields
|
...GroupFullFields
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue