2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 20:45:44 +00:00

Bug fix for BOM table (#4540)

This commit is contained in:
Oliver
2023-03-30 11:07:46 +11:00
committed by GitHub
parent d5a71b2fe8
commit 47f52478e0

View File

@ -1247,14 +1247,14 @@ function loadBomTable(table, options={}) {
var bDelt = makeDeleteButton('bom-delete-button', row.pk, '{% trans "Delete BOM Item" %}');
let buttons = '';
if (!row.validated) {
html += bValidate;
buttons += bValidate;
} else {
html += bValid;
buttons += bValid;
}
var buttons = '';
buttons += bEdit;
buttons += bSubs;
buttons += bDelt;