1
0
Fork 0
mirror of synced 2024-07-20 05:35:58 +12:00
This commit is contained in:
Adria Navarro 2023-09-29 11:47:23 +02:00
parent 6c9b3e33a3
commit 46a224751f
2 changed files with 1 additions and 4 deletions

View file

@ -108,13 +108,11 @@ export async function save(ctx: UserCtx) {
row,
})
const responseRow = response as { row: Row }
if (!isEqual(table, updatedTable)) {
await sdk.tables.saveTable(updatedTable)
}
const rowId = responseRow.row._id
const rowId = response.row._id
if (rowId) {
const row = await sdk.rows.external.getRow(tableId, rowId, {
relationships: true,

View file

@ -14,7 +14,6 @@ import {
Table,
TableResponse,
UserCtx,
Datasource,
} from "@budibase/types"
import sdk from "../../../sdk"
import { jsonFromCsvString } from "../../../utilities/csv"