sf-crud 13.2.38 → 13.2.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/sf-crud.mjs +2 -0
- package/fesm2022/sf-crud.mjs.map +1 -1
- package/package.json +1 -1
package/fesm2022/sf-crud.mjs
CHANGED
|
@@ -1886,6 +1886,8 @@ class FileUploadComponent {
|
|
|
1886
1886
|
else if (item.indexOf("@") == -1)
|
|
1887
1887
|
sName += item;
|
|
1888
1888
|
});
|
|
1889
|
+
const nextIndex = this.files.length + 1;
|
|
1890
|
+
sName = sName.replace('{INDEX}', nextIndex.toString());
|
|
1889
1891
|
let ext = this.getExt(file);
|
|
1890
1892
|
sName += ext ? "." + ext : "";
|
|
1891
1893
|
}
|