Merge branch 'master' into fix/view-v1-data
This commit is contained in:
commit
7d2bb34441
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
|
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
|
||||||
"version": "3.2.32",
|
"version": "3.2.33",
|
||||||
"npmClient": "yarn",
|
"npmClient": "yarn",
|
||||||
"concurrency": 20,
|
"concurrency": 20,
|
||||||
"command": {
|
"command": {
|
||||||
|
|
|
@ -66,10 +66,9 @@ export const patchAPI = API => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const fetchRelationshipData = API.fetchRelationshipData
|
const fetchRelationshipData = API.fetchRelationshipData
|
||||||
API.fetchRelationshipData = async params => {
|
API.fetchRelationshipData = async (sourceId, rowId, fieldName) => {
|
||||||
const tableId = params?.tableId
|
const rows = await fetchRelationshipData(sourceId, rowId, fieldName)
|
||||||
const rows = await fetchRelationshipData(params)
|
return await enrichRows(rows, sourceId)
|
||||||
return await enrichRows(rows, tableId)
|
|
||||||
}
|
}
|
||||||
const fetchTableData = API.fetchTableData
|
const fetchTableData = API.fetchTableData
|
||||||
API.fetchTableData = async tableId => {
|
API.fetchTableData = async tableId => {
|
||||||
|
|
Loading…
Reference in New Issue