Merge pull request #13504 from Budibase/budi-8126/update-external-types
Update external types
This commit is contained in:
commit
413db41d5d
|
@ -380,7 +380,12 @@ function copyExistingPropsOver(
|
|||
continue
|
||||
}
|
||||
|
||||
table.schema[key] = existingTableSchema[key]
|
||||
table.schema[key] = {
|
||||
...existingTableSchema[key],
|
||||
externalType:
|
||||
existingTableSchema[key].externalType ||
|
||||
table.schema[key].externalType,
|
||||
}
|
||||
}
|
||||
}
|
||||
return table
|
||||
|
|
|
@ -348,8 +348,7 @@ const preSaveAction: Partial<Record<SourceName, any>> = {
|
|||
* Make sure all datasource entities have a display name selected
|
||||
*/
|
||||
export function setDefaultDisplayColumns(datasource: Datasource) {
|
||||
//
|
||||
for (let entity of Object.values(datasource.entities || {})) {
|
||||
for (const entity of Object.values(datasource.entities || {})) {
|
||||
if (entity.primaryDisplay) {
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue