From c53407d0048265b5794b71fc9734b232f6c3b348 Mon Sep 17 00:00:00 2001 From: Oli Folkerd Date: Sun, 3 Jul 2022 13:33:52 +0100 Subject: [PATCH] fix missing bracket in import load data check function --- src/js/modules/Import/Import.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/modules/Import/Import.js b/src/js/modules/Import/Import.js index f98aa23d6..3299840fb 100644 --- a/src/js/modules/Import/Import.js +++ b/src/js/modules/Import/Import.js @@ -21,7 +21,7 @@ class Import extends Module{ } loadDataCheck(data){ - return this.table.options.importFormat && (typeof data === "string" || (Array.isArray(data) && data.length && Array.isArray(data)); + return this.table.options.importFormat && (typeof data === "string" || (Array.isArray(data) && data.length && Array.isArray(data))); } loadData(data, params, config, silent, previousData){