From cecd63b8962d269a464bc075151d0a94efde0375 Mon Sep 17 00:00:00 2001 From: Austin Akers Date: Fri, 22 Nov 2024 12:40:26 -0800 Subject: [PATCH 1/2] fixed tableData is not iterable error --- src/functions/instance/getTableData.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/functions/instance/getTableData.js b/src/functions/instance/getTableData.js index 6a989c1b5..ddb2580d2 100644 --- a/src/functions/instance/getTableData.js +++ b/src/functions/instance/getTableData.js @@ -3,6 +3,7 @@ import searchByValue from '../api/instance/searchByValue'; import searchByConditions from '../api/instance/searchByConditions'; const getAttributesFromTableData = (tableData, existingAttributes) => { + if (!tableData.length) return []; if (existingAttributes.length >= 8) return []; const existing = new Map(existingAttributes.map((value, index) => [value, index])); const extra = new Map(); From 5e4dfdc0cfd295fbe30816fb641995fdc2bf47e4 Mon Sep 17 00:00:00 2001 From: Austin Akers Date: Fri, 22 Nov 2024 12:42:14 -0800 Subject: [PATCH 2/2] updated package version to 4.8.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f927f09c8..00038073f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "harperdb-studio", - "version": "4.8.2", + "version": "4.8.3", "description": "A UI for HarperDB", "deploymentUrl": "studio.harperdb.io", "private": true,