Types
This commit is contained in:
parent
6c9b3e33a3
commit
46a224751f
|
@ -108,13 +108,11 @@ export async function save(ctx: UserCtx) {
|
||||||
row,
|
row,
|
||||||
})
|
})
|
||||||
|
|
||||||
const responseRow = response as { row: Row }
|
|
||||||
|
|
||||||
if (!isEqual(table, updatedTable)) {
|
if (!isEqual(table, updatedTable)) {
|
||||||
await sdk.tables.saveTable(updatedTable)
|
await sdk.tables.saveTable(updatedTable)
|
||||||
}
|
}
|
||||||
|
|
||||||
const rowId = responseRow.row._id
|
const rowId = response.row._id
|
||||||
if (rowId) {
|
if (rowId) {
|
||||||
const row = await sdk.rows.external.getRow(tableId, rowId, {
|
const row = await sdk.rows.external.getRow(tableId, rowId, {
|
||||||
relationships: true,
|
relationships: true,
|
||||||
|
|
|
@ -14,7 +14,6 @@ import {
|
||||||
Table,
|
Table,
|
||||||
TableResponse,
|
TableResponse,
|
||||||
UserCtx,
|
UserCtx,
|
||||||
Datasource,
|
|
||||||
} from "@budibase/types"
|
} from "@budibase/types"
|
||||||
import sdk from "../../../sdk"
|
import sdk from "../../../sdk"
|
||||||
import { jsonFromCsvString } from "../../../utilities/csv"
|
import { jsonFromCsvString } from "../../../utilities/csv"
|
||||||
|
|
Loading…
Reference in New Issue