Skip to content

Commit b53d63d

Browse files
authored
fix(dashboard): pass prefix to useDataTable to fix product list not paginating (#14232)
* Pass prefix to useDataTable hook * Add changeset
1 parent 6176f93 commit b53d63d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/stale-coats-shave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@medusajs/dashboard": patch
3+
---
4+
5+
fix(dashboard): pass prefix to useDataTable to fix product list not paginating

packages/admin/dashboard/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-products-form.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ export const PriceListProductsForm = ({ form }: PriceListProductsFormProps) => {
109109
updater,
110110
},
111111
pageSize: PAGE_SIZE,
112+
prefix: PREFIX,
112113
})
113114

114115
if (isError) {

0 commit comments

Comments
 (0)