mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Hide checkboxes when BOM is not being edited
This commit is contained in:
parent
86695cf2bb
commit
686a61fba9
@ -32,13 +32,16 @@ function loadBomTable(table, options) {
|
||||
title: 'ID',
|
||||
visible: false,
|
||||
},
|
||||
{
|
||||
];
|
||||
|
||||
if (options.editable) {
|
||||
cols.push({
|
||||
checkbox: true,
|
||||
title: 'Select',
|
||||
searchable: false,
|
||||
sortable: false,
|
||||
},
|
||||
];
|
||||
});
|
||||
}
|
||||
|
||||
// Part column
|
||||
cols.push(
|
||||
|
Loading…
Reference in New Issue
Block a user