Add fix for paginating shipping zones for channel
This commit is contained in:
parent
1824e288ed
commit
72bd0b89ce
1 changed files with 2 additions and 1 deletions
|
@ -93,9 +93,10 @@ export const useShippingZoneChannels = makeQuery<
|
||||||
ShippingZoneChannelsVariables
|
ShippingZoneChannelsVariables
|
||||||
>(shippingZoneChannels);
|
>(shippingZoneChannels);
|
||||||
|
|
||||||
|
// first: 100 - to be removed when we implement pagintion in ui for this query
|
||||||
const channelShippingZones = gql`
|
const channelShippingZones = gql`
|
||||||
query ChannelShippingZones($filter: ShippingZoneFilterInput) {
|
query ChannelShippingZones($filter: ShippingZoneFilterInput) {
|
||||||
shippingZones(filter: $filter) {
|
shippingZones(filter: $filter, first: 100) {
|
||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
id
|
id
|
||||||
|
|
Loading…
Reference in a new issue