fix(nc-gui): upload upto limit attachment on copy paste

This commit is contained in:
Ramesh Mane
2025-07-15 14:57:06 +00:00
parent 9b35ab87fa
commit f84d0b46b9

View File

@@ -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,
})
) {