Skip to content

Commit c97973e

Browse files
authored
Use route default fields on product exports (#14931)
1 parent fde2a16 commit c97973e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
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): use product default fields on Admin dashboard exports

packages/admin/dashboard/src/routes/products/product-export/product-export.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export const ProductExport = () => {
2626
const ProductExportContent = () => {
2727
const { t } = useTranslation()
2828
const { searchParams } = useProductTableQuery({})
29+
delete searchParams.fields
2930

3031
const { mutateAsync } = useExportProducts({ ...searchParams })
3132
const { handleSuccess } = useRouteModal()

0 commit comments

Comments
 (0)