From 0dee4df8fb8ec5b2ebca6e007eaab12d616c7e9f Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Fri, 15 Jan 2021 17:11:46 +1100 Subject: [PATCH] Bug fix --- InvenTree/InvenTree/static/script/inventree/tables.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/InvenTree/static/script/inventree/tables.js b/InvenTree/InvenTree/static/script/inventree/tables.js index ef17d91015..a40eb37285 100644 --- a/InvenTree/InvenTree/static/script/inventree/tables.js +++ b/InvenTree/InvenTree/static/script/inventree/tables.js @@ -154,7 +154,7 @@ $.fn.inventreeTable = function(options) { // Which columns are currently visible? var visible = table.bootstrapTable('getVisibleColumns'); - if (visible && isArray(visible)) { + if (visible && Array.isArray(visible)) { visible.forEach(function(column) { // Visible field should *not* be visible! (hide it!)