mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Bug fix for BOM table (#4540)
This commit is contained in:
parent
d5a71b2fe8
commit
47f52478e0
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user