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:
@ -1247,14 +1247,14 @@ function loadBomTable(table, options={}) {
|
|||||||
|
|
||||||
var bDelt = makeDeleteButton('bom-delete-button', row.pk, '{% trans "Delete BOM Item" %}');
|
var bDelt = makeDeleteButton('bom-delete-button', row.pk, '{% trans "Delete BOM Item" %}');
|
||||||
|
|
||||||
|
let buttons = '';
|
||||||
|
|
||||||
if (!row.validated) {
|
if (!row.validated) {
|
||||||
html += bValidate;
|
buttons += bValidate;
|
||||||
} else {
|
} else {
|
||||||
html += bValid;
|
buttons += bValid;
|
||||||
}
|
}
|
||||||
|
|
||||||
var buttons = '';
|
|
||||||
buttons += bEdit;
|
buttons += bEdit;
|
||||||
buttons += bSubs;
|
buttons += bSubs;
|
||||||
buttons += bDelt;
|
buttons += bDelt;
|
||||||
|
Reference in New Issue
Block a user