diff --git a/packages/nocodb/src/helpers/webhookHelpers.ts b/packages/nocodb/src/helpers/webhookHelpers.ts index 3218849956..37ca4919b2 100644 --- a/packages/nocodb/src/helpers/webhookHelpers.ts +++ b/packages/nocodb/src/helpers/webhookHelpers.ts @@ -713,16 +713,9 @@ export function _transformSubmittedFormDataForEmail( } transformedData[col.title] = (transformedData[col.title] || []) .map((attachment) => { - if ( - ['jpeg', 'gif', 'png', 'apng', 'svg', 'bmp', 'ico', 'jpg'].includes( - attachment.title.split('.').pop(), - ) - ) { - return ``; - } - return `${attachment.title}`; + return attachment.title; }) - .join(' '); + .join('
'); } else if ( transformedData[col.title] && typeof transformedData[col.title] === 'object' diff --git a/packages/nocodb/src/utils/common/formSubmissionEmailTemplate.ts b/packages/nocodb/src/utils/common/formSubmissionEmailTemplate.ts index c6de82cdc4..8d04607101 100644 --- a/packages/nocodb/src/utils/common/formSubmissionEmailTemplate.ts +++ b/packages/nocodb/src/utils/common/formSubmissionEmailTemplate.ts @@ -130,7 +130,7 @@ export default ` - NocoDB

NocoDB

+ NocoDB