Skip to content

Commit 6dd5b6c

Browse files
committed
Update to fix version for @refinedev/core to fix export issue refinedev/refine#5317.
1 parent eb421d5 commit 6dd5b6c

File tree

5 files changed

+42
-20
lines changed

5 files changed

+42
-20
lines changed

client/package-lock.json

+28-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@ant-design/icons": "^5.2.6",
1212
"@loadable/component": "^5.16.2",
1313
"@refinedev/antd": "^5.37.0",
14-
"@refinedev/core": "^4.46.0",
14+
"@refinedev/core": "^4.47.0",
1515
"@refinedev/kbar": "^1.3.4",
1616
"@refinedev/react-router-v6": "^4.5.4",
1717
"@refinedev/simple-rest": "^5.0.0",
@@ -65,4 +65,4 @@
6565
"last 1 safari version"
6666
]
6767
}
68-
}
68+
}

client/src/pages/filaments/list.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,10 @@ export const FilamentList: React.FC<IResourceComponentsProps> = () => {
8686
const initialState = useInitialTableState(namespace);
8787

8888
const { triggerExport, isLoading } = useExport<IFilament>({
89-
mapData: item => flatten(item)
89+
mapData: item => flatten(item),
90+
unparseConfig: {
91+
columns: allColumnsWithExtraFields
92+
}
9093
});
9194

9295
// Fetch data from the API

client/src/pages/spools/list.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,10 @@ export const SpoolList: React.FC<IResourceComponentsProps> = () => {
114114

115115
const { triggerExport, isLoading } = useExport<ISpool>(
116116
{
117-
mapData: item => flatten(item)
117+
mapData: item => flatten(item),
118+
unparseConfig: {
119+
columns: allColumnsWithExtraFields
120+
}
118121
}
119122
);
120123

client/src/pages/vendors/list.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ export const VendorList: React.FC<IResourceComponentsProps> = () => {
3232
const initialState = useInitialTableState(namespace);
3333

3434
const { triggerExport, isLoading } = useExport<IVendor>({
35-
mapData: item => flatten(item)
35+
mapData: item => flatten(item),
36+
unparseConfig: {
37+
columns: allColumnsWithExtraFields
38+
}
3639
});
3740

3841
// Fetch data from the API

0 commit comments

Comments
 (0)