mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 03:35:37 +00:00
fix: ignore not migrated column
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
@@ -162,6 +162,11 @@ async function nc_getColumnSchema(aTblFieldId) {
|
||||
|
||||
let ncTblId = sMap.getNcParentFromAtId(aTblFieldId)
|
||||
let ncColId = sMap.getNcIdFromAtId(aTblFieldId)
|
||||
|
||||
// not migrated column, skip
|
||||
if(ncColId === undefined || ncTblId === undefined)
|
||||
return 0
|
||||
|
||||
let ncCol = ncSchema.tablesById[ncTblId].columns.find(x => x.id === ncColId)
|
||||
return ncCol
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user