mirror of
https://github.com/inventree/InvenTree.git
synced 2025-09-13 06:01:35 +00:00
@@ -48,7 +48,7 @@ function ParameterCell({
|
||||
// Find matching template parameter
|
||||
const parameter = useMemo(() => {
|
||||
return record.parameters?.find((p: any) => p.template == template.pk);
|
||||
}, [record.parameters, template]);
|
||||
}, [record, template]);
|
||||
|
||||
const extra: any[] = [];
|
||||
|
||||
@@ -289,7 +289,7 @@ export default function ParametricPartTable({
|
||||
|
||||
table.updateRecord(records[partIndex]);
|
||||
},
|
||||
[table.updateRecord]
|
||||
[table.records, table.updateRecord]
|
||||
);
|
||||
|
||||
const parameterColumns: TableColumn[] = useMemo(() => {
|
||||
|
Reference in New Issue
Block a user