|
|
@ -514,7 +514,10 @@ const isColumnValid = (column: TableExplorerColumn) => { |
|
|
|
return false |
|
|
|
return false |
|
|
|
} |
|
|
|
} |
|
|
|
if ((column.uidt === UITypes.Links || column.uidt === UITypes.LinkToAnotherRecord) && isNew) { |
|
|
|
if ((column.uidt === UITypes.Links || column.uidt === UITypes.LinkToAnotherRecord) && isNew) { |
|
|
|
if (!column.childColumn || !column.childTable || !column.childId) { |
|
|
|
if ( |
|
|
|
|
|
|
|
(!column.childColumn || !column.childTable || !column.childId) && |
|
|
|
|
|
|
|
(!column.custom?.ref_model_id || !column.custom?.ref_column_id) |
|
|
|
|
|
|
|
) { |
|
|
|
return false |
|
|
|
return false |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|