mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-29 13:16:39 +00:00
fix: review changes nocodb/nocodb/pull/7491
This commit is contained in:
@@ -182,7 +182,13 @@ export default function convertCellData(
|
||||
attachments.push(attachment)
|
||||
}
|
||||
|
||||
return attachments.length ? (value ? JSON.stringify(attachments) : files ? attachments : null) : null
|
||||
if (value && attachments.length) {
|
||||
return JSON.stringify(attachments)
|
||||
} else if (files && attachments.length) {
|
||||
return attachments
|
||||
} else {
|
||||
return null
|
||||
}
|
||||
}
|
||||
case UITypes.SingleSelect:
|
||||
case UITypes.MultiSelect: {
|
||||
|
||||
Reference in New Issue
Block a user