monkey-style-guide 2.0.196 → 2.0.198
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/assets/scss/partials/_variables.scss +5 -0
- package/esm2020/lib/components/file-upload/file-upload.component.mjs +2 -2
- package/esm2020/lib/components/input/input.component.mjs +1 -1
- package/fesm2015/monkey-style-guide.mjs +1 -1
- package/fesm2015/monkey-style-guide.mjs.map +1 -1
- package/fesm2020/monkey-style-guide.mjs +1 -1
- package/fesm2020/monkey-style-guide.mjs.map +1 -1
- package/monkey-style-guide-2.0.198.tgz +0 -0
- package/package.json +1 -1
- package/monkey-style-guide-2.0.196.tgz +0 -0
|
@@ -6793,7 +6793,7 @@ class MonkeyFileUploadComponent {
|
|
|
6793
6793
|
const { name, size } = file;
|
|
6794
6794
|
if (configFiles.allowedExtensions) {
|
|
6795
6795
|
const hasAllowedExtensions = configFiles.allowedExtensions.filter((allow) => {
|
|
6796
|
-
const extension = name.
|
|
6796
|
+
const extension = name.substring(name.lastIndexOf('.'), name.length);
|
|
6797
6797
|
return (allow.extension.toLowerCase() === extension.toLowerCase() ||
|
|
6798
6798
|
!MonkeyUtils.persistNullEmptyUndefined(extension));
|
|
6799
6799
|
}).length > 0;
|