mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-13 10:35:40 +00:00
Hide checkboxes when BOM is not being edited
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user