mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-28 20:33:32 +00:00
1 parent
755a02f4a2
commit
fe8aa187c4
1 file changed
+2
-2
@@ -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