This commit is contained in:
Oliver Walters 2021-01-15 17:11:46 +11:00
parent 69e6006436
commit 0dee4df8fb

View File

@ -154,7 +154,7 @@ $.fn.inventreeTable = function(options) {
// Which columns are currently visible? // Which columns are currently visible?
var visible = table.bootstrapTable('getVisibleColumns'); var visible = table.bootstrapTable('getVisibleColumns');
if (visible && isArray(visible)) { if (visible && Array.isArray(visible)) {
visible.forEach(function(column) { visible.forEach(function(column) {
// Visible field should *not* be visible! (hide it!) // Visible field should *not* be visible! (hide it!)