chrv-components 1.9.37 → 1.9.38

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.
Binary file
@@ -1226,7 +1226,9 @@ class FileService {
1226
1226
  const reader = new FileReader();
1227
1227
  reader.onloadend = () => {
1228
1228
  var [name, extension] = [
1229
- ...(file?.file ? file.file.name.split('.') : [null, null]),
1229
+ ...(file?.file
1230
+ ? file.file.name.slice(file.file.name.lastIndexOf('.'))
1231
+ : [null, null]),
1230
1232
  ];
1231
1233
  file = {
1232
1234
  ...file,