Merge branch 'master' into feat/pc-ts-conversions-2
This commit is contained in:
commit
495a452122
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
|
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
|
||||||
"version": "3.5.0",
|
"version": "3.5.1",
|
||||||
"npmClient": "yarn",
|
"npmClient": "yarn",
|
||||||
"concurrency": 20,
|
"concurrency": 20,
|
||||||
"command": {
|
"command": {
|
||||||
|
|
|
@ -31,10 +31,12 @@
|
||||||
let attachRequest = new FormData()
|
let attachRequest = new FormData()
|
||||||
attachRequest.append("file", signatureFile)
|
attachRequest.append("file", signatureFile)
|
||||||
|
|
||||||
const resp = await API.uploadAttachment(
|
let sourceId = formContext?.dataSource?.tableId
|
||||||
formContext?.dataSource?.tableId,
|
if (formContext?.dataSource?.type === "viewV2") {
|
||||||
attachRequest
|
sourceId = formContext.dataSource.id
|
||||||
)
|
}
|
||||||
|
|
||||||
|
const resp = await API.uploadAttachment(sourceId, attachRequest)
|
||||||
const [signatureAttachment] = resp
|
const [signatureAttachment] = resp
|
||||||
updateValue = signatureAttachment
|
updateValue = signatureAttachment
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue