Add fix for paginating shipping zones for channel

This commit is contained in:
Magdalena Markusik 2021-05-12 14:33:03 +02:00
parent 1824e288ed
commit 72bd0b89ce

View file

@ -93,9 +93,10 @@ export const useShippingZoneChannels = makeQuery<
ShippingZoneChannelsVariables
>(shippingZoneChannels);
// first: 100 - to be removed when we implement pagintion in ui for this query
const channelShippingZones = gql`
query ChannelShippingZones($filter: ShippingZoneFilterInput) {
shippingZones(filter: $filter) {
shippingZones(filter: $filter, first: 100) {
edges {
node {
id