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