diff --git a/src/renderer/src/stories/BasicTable.js b/src/renderer/src/stories/BasicTable.js index ef213b7cc..39128438c 100644 --- a/src/renderer/src/stories/BasicTable.js +++ b/src/renderer/src/stories/BasicTable.js @@ -373,7 +373,7 @@ export class BasicTable extends LitElement { let data = text.split("\n").map((row) => row.split("\t").map((v) => { try { - return JSON.parse(v); + return eval(v) } catch { return v.trim(); } @@ -389,8 +389,6 @@ export class BasicTable extends LitElement { }, {}) ); - console.log("Got", structuredData); - Object.keys(this.data).forEach((row) => delete this.data[row]); // Delete all previous rows Object.keys(data).forEach((row) => { const cols = structuredData[row];