cloudmr-ux 1.4.0 → 1.4.1
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/dist/index.js +1 -9
- package/dist/index.mjs +1 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -407,15 +407,7 @@ function CmrUploadWindow({
|
|
|
407
407
|
setUpBtnText("Uploading");
|
|
408
408
|
};
|
|
409
409
|
const changeFileName = (e) => {
|
|
410
|
-
|
|
411
|
-
setFileAlias(value);
|
|
412
|
-
if (INVALID_ALIAS_REGEX.test(value)) {
|
|
413
|
-
setInfoOpen(true);
|
|
414
|
-
setInfoStyle("error");
|
|
415
|
-
setWarningText("Alias contains invalid characters ( . , : % > < or spaces )");
|
|
416
|
-
} else {
|
|
417
|
-
setInfoOpen(false);
|
|
418
|
-
}
|
|
410
|
+
setFileAlias(e.target.value);
|
|
419
411
|
};
|
|
420
412
|
function loadFiles(files) {
|
|
421
413
|
if (files.length == 0) {
|
package/dist/index.mjs
CHANGED
|
@@ -359,15 +359,7 @@ function CmrUploadWindow({
|
|
|
359
359
|
setUpBtnText("Uploading");
|
|
360
360
|
};
|
|
361
361
|
const changeFileName = (e) => {
|
|
362
|
-
|
|
363
|
-
setFileAlias(value);
|
|
364
|
-
if (INVALID_ALIAS_REGEX.test(value)) {
|
|
365
|
-
setInfoOpen(true);
|
|
366
|
-
setInfoStyle("error");
|
|
367
|
-
setWarningText("Alias contains invalid characters ( . , : % > < or spaces )");
|
|
368
|
-
} else {
|
|
369
|
-
setInfoOpen(false);
|
|
370
|
-
}
|
|
362
|
+
setFileAlias(e.target.value);
|
|
371
363
|
};
|
|
372
364
|
function loadFiles(files) {
|
|
373
365
|
if (files.length == 0) {
|