mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Stock Test: Fix display of stock test table
- Incorrect parent node was set
This commit is contained in:
parent
534fd491c1
commit
3aadf94a9c
@ -159,7 +159,7 @@ function loadStockTestResultsTable(table, options) {
|
|||||||
|
|
||||||
// Set "parent" for each existing row
|
// Set "parent" for each existing row
|
||||||
tableData.forEach(function(item, idx) {
|
tableData.forEach(function(item, idx) {
|
||||||
tableData[idx].parent = options.stock_item;
|
tableData[idx].parent = parent_node;
|
||||||
});
|
});
|
||||||
|
|
||||||
// Once the test template data are loaded, query for test results
|
// Once the test template data are loaded, query for test results
|
||||||
|
Loading…
Reference in New Issue
Block a user