Browse Source

fix: avoid adding extra dot

pull/7958/head
Pranav C 8 months ago
parent
commit
fbd25b7e9d
  1. 2
      packages/nocodb-sdk/src/lib/helperFunctions.ts

2
packages/nocodb-sdk/src/lib/helperFunctions.ts

@ -108,7 +108,7 @@ const getFileName = ({
name,
count,
ext
}) => `${name}${count ? `(${count})` : ''}${ext? `.${ext}` : ''}`
}) => `${name}${count ? `(${count})` : ''}${ext? `${ext}` : ''}`
// add count before extension if duplicate name found
function populateUniqueFileName(

Loading…
Cancel
Save