mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 04:25:42 +00:00
Download params (#9413)
* Pass extra options through to data export plugins * Add PartParameterExporter plugin - Useful for including part parameter data in exporter * Fix bug in InvenTreeTableHeader * enable export for partparametertable * Simplify tests * Add typing hints
This commit is contained in:
@ -81,6 +81,8 @@ export default function InvenTreeTableHeader({
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return filters;
|
||||
}, [tableProps.params, tableState.filterSet, tableState.queryFilters]);
|
||||
|
||||
const exportModal = useDataExport({
|
||||
|
@ -269,7 +269,7 @@ export default function ParametricPartTable({
|
||||
tableState={table}
|
||||
columns={tableColumns}
|
||||
props={{
|
||||
enableDownload: false,
|
||||
enableDownload: true,
|
||||
tableFilters: tableFilters,
|
||||
params: {
|
||||
category: categoryId,
|
||||
|
Reference in New Issue
Block a user