feat(nc-gui): some part of copy paste mm cell

This commit is contained in:
Ramesh Mane
2024-02-19 03:41:21 +00:00
parent b938c3f64f
commit a1e26f88c1
2 changed files with 109 additions and 1 deletions

View File

@@ -246,7 +246,8 @@ export default function convertCellData(
return parsedVal || value
}
case UITypes.LinkToAnotherRecord: {
case UITypes.LinkToAnotherRecord:
case UITypes.Links: {
const parsedVal = typeof value === 'string' ? JSON.parse(value) : value
if (!(parsedVal && typeof parsedVal === 'object' && !Array.isArray(parsedVal) && Object.keys(parsedVal))) {
throw new Error('Invalid LTAR data')