Stock Test: Fix display of stock test table

- Incorrect parent node was set
This commit is contained in:
Oliver 2021-06-08 16:15:40 +10:00
parent 534fd491c1
commit 3aadf94a9c

View File

@ -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