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',
|
title: 'ID',
|
||||||
visible: false,
|
visible: false,
|
||||||
},
|
},
|
||||||
{
|
];
|
||||||
|
|
||||||
|
if (options.editable) {
|
||||||
|
cols.push({
|
||||||
checkbox: true,
|
checkbox: true,
|
||||||
title: 'Select',
|
title: 'Select',
|
||||||
searchable: false,
|
searchable: false,
|
||||||
sortable: false,
|
sortable: false,
|
||||||
},
|
});
|
||||||
];
|
}
|
||||||
|
|
||||||
// Part column
|
// Part column
|
||||||
cols.push(
|
cols.push(
|
||||||
|
Loading…
Reference in New Issue
Block a user