2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 03:55:41 +00:00

Merge pull request #1236 from SchrodingersGat/js-fix

Bug fix
This commit is contained in:
Oliver
2021-01-17 19:58:35 +11:00
committed by GitHub

View File

@ -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!)