mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 12:56:48 +00:00
fix(nc-gui): upload upto limit attachment on copy paste
This commit is contained in:
@@ -112,13 +112,15 @@ export default function convertCellData(
|
||||
|
||||
const attachments: Record<string, any>[] = []
|
||||
|
||||
const totalNewAttachments = value ? parsedVal.length : files.length
|
||||
|
||||
for (const attachment of value ? parsedVal : files) {
|
||||
if (args.appInfo.ee) {
|
||||
// verify number of files
|
||||
if (
|
||||
args.isInfoShown ||
|
||||
showUpgradeToAddMoreAttachmentsInCell({
|
||||
totalAttachments: parsedVal.length,
|
||||
totalAttachments: oldAttachments.length + totalNewAttachments,
|
||||
forceShowToastMessage: isMultiple,
|
||||
})
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user