Bug fix for rendering allocations against build outputs (#4459)

This commit is contained in:
Oliver 2023-03-07 21:16:53 +11:00 committed by GitHub
parent ba4e264e6e
commit e263b2a8c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1717,7 +1717,7 @@ function loadBuildOutputAllocationTable(buildInfo, output, options={}) {
detailFormatter: function(index, row, element) { detailFormatter: function(index, row, element) {
// Contruct an 'inner table' which shows which stock items have been allocated // Contruct an 'inner table' which shows which stock items have been allocated
var subTableId = `allocation-table-${row.pk}`; var subTableId = `allocation-table-${outputId}-${row.pk}`;
var html = `<div class='sub-table'><table class='table table-condensed table-striped' id='${subTableId}'></table></div>`; var html = `<div class='sub-table'><table class='table table-condensed table-striped' id='${subTableId}'></table></div>`;