diff --git a/src/main/webapp/resources/js/base/dataset.js b/src/main/webapp/resources/js/base/dataset.js index 38f92b3..d45ff7c 100644 --- a/src/main/webapp/resources/js/base/dataset.js +++ b/src/main/webapp/resources/js/base/dataset.js @@ -544,7 +544,7 @@ class Dataset { _getDataItems(obj, option) { obj = obj || []; - let array = Array.isArray(obj) ? obj : null; + let array = Array.isArray(obj) ? [obj] : null; if (!array && this.conf.dataGetter) array = this.conf.dataGetter(obj) || []; array = array || [];