Hide checkboxes when BOM is not being edited

This commit is contained in:
Oliver Walters 2019-05-25 00:36:02 +10:00
parent 86695cf2bb
commit 686a61fba9

View File

@ -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(