@saltcorn/agents 0.7.9 → 0.7.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -304,7 +304,7 @@ const getTablePrompt = (read_only) => {
|
|
|
304
304
|
const state = getState();
|
|
305
305
|
const tables = state.tables;
|
|
306
306
|
const tableLines = [];
|
|
307
|
-
tables.forEach((table) => {
|
|
307
|
+
tables.map(t=>new Table(t)).forEach((table) => {
|
|
308
308
|
const fieldLines = table.fields.map(
|
|
309
309
|
(f) =>
|
|
310
310
|
` * ${f.name} with type: ${
|