@capillarytech/creatives-library 7.12.90 → 7.12.91
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/package.json
CHANGED
|
@@ -1321,10 +1321,7 @@ export class Create extends React.Component { // eslint-disable-line react/prefe
|
|
|
1321
1321
|
duration: 2,
|
|
1322
1322
|
});
|
|
1323
1323
|
} else {
|
|
1324
|
-
|
|
1325
|
-
const blob = data.file.slice(0, -1, 'image');
|
|
1326
|
-
const newFile = new File([blob], `${name[0]}${Date.now()}.${name[1]}`, {type: 'image'});
|
|
1327
|
-
this.props.actions.uploadAsset(newFile, data.type, data.fileParams);
|
|
1324
|
+
this.props.actions.uploadAsset(data.file, data.type, data.fileParams);
|
|
1328
1325
|
}
|
|
1329
1326
|
};
|
|
1330
1327
|
selectCtaIos = (selectedConfig) => {
|