@apexcura/ui-components 0.0.13-Beta55 → 0.0.13-Beta56
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 +0 -5
- package/dist/index.mjs +0 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -825,11 +825,6 @@ var UploadElement = (props) => {
|
|
|
825
825
|
reader.readAsDataURL(selectedFile);
|
|
826
826
|
newFileList.push(newFile);
|
|
827
827
|
}
|
|
828
|
-
const updatedFileList = props.value ? [...props.value, ...newFileList] : newFileList;
|
|
829
|
-
props.onChange && props.onChange({
|
|
830
|
-
name: props.name,
|
|
831
|
-
value: updatedFileList
|
|
832
|
-
});
|
|
833
828
|
};
|
|
834
829
|
const uploadChange2 = ({ file, fileList }) => {
|
|
835
830
|
const newFileList = fileList.filter((f) => f.name !== file.name);
|
package/dist/index.mjs
CHANGED
|
@@ -769,11 +769,6 @@ var UploadElement = (props) => {
|
|
|
769
769
|
reader.readAsDataURL(selectedFile);
|
|
770
770
|
newFileList.push(newFile);
|
|
771
771
|
}
|
|
772
|
-
const updatedFileList = props.value ? [...props.value, ...newFileList] : newFileList;
|
|
773
|
-
props.onChange && props.onChange({
|
|
774
|
-
name: props.name,
|
|
775
|
-
value: updatedFileList
|
|
776
|
-
});
|
|
777
772
|
};
|
|
778
773
|
const uploadChange2 = ({ file, fileList }) => {
|
|
779
774
|
const newFileList = fileList.filter((f) => f.name !== file.name);
|