diff --git a/.changeset/lazy-experts-wave.md b/.changeset/lazy-experts-wave.md new file mode 100644 index 0000000..03f9fbd --- /dev/null +++ b/.changeset/lazy-experts-wave.md @@ -0,0 +1,5 @@ +--- +"saleor-app-taxes": patch +--- + +Fix channels not showing in the channels list if there are too many of them. diff --git a/apps/taxes/src/modules/channels/channels-fetcher.ts b/apps/taxes/src/modules/channels/channels-fetcher.ts index 21019e6..5c7ab30 100644 --- a/apps/taxes/src/modules/channels/channels-fetcher.ts +++ b/apps/taxes/src/modules/channels/channels-fetcher.ts @@ -10,7 +10,11 @@ export class ChannelsFetcher { fetchChannels() { return this.client .query(TaxConfigurationsListDocument, { - first: 10, + /** + * todo: add pagination + * * arbitrary limit + */ + first: 100, } as TaxConfigurationsListQueryVariables) .toPromise() .then((r) => {