From c1d9799277ffc6d04c159a96c1f677d97fb924d9 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Fri, 13 Sep 2024 15:26:34 +0900 Subject: [PATCH] =?UTF-8?q?Dataset.=5FgetDataItems(...)=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/resources/js/base/dataset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 || [];