fix: Remove undefined matrixHtml reference
v1.3.148: - Fixed JavaScript error: matrixHtml is not defined - Removed duplicate table population code - bodyRows.innerHTML already contains the matrix HTML
This commit is contained in:
parent
41716ba683
commit
04a472d204
@ -2317,10 +2317,6 @@ function renderBillingMatrix(matrix) {
|
|||||||
</tr>`;
|
</tr>`;
|
||||||
}).join('');
|
}).join('');
|
||||||
|
|
||||||
// Populate table body
|
|
||||||
const tableBody = document.getElementById('matrixBodyRows');
|
|
||||||
tableBody.innerHTML = matrixHtml;
|
|
||||||
|
|
||||||
// Show search container if there are products
|
// Show search container if there are products
|
||||||
const searchContainer = document.getElementById('matrixSearchContainer');
|
const searchContainer = document.getElementById('matrixSearchContainer');
|
||||||
if (matrix.products.length > 0) {
|
if (matrix.products.length > 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user