@capillarytech/creatives-library 2.0.0 → 2.0.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.
@@ -246,7 +246,7 @@ export class Edit extends React.Component { // eslint-disable-line react/prefer-
246
246
  if (type === 'embedded' || count > 0) {
247
247
  setTimeout( () => {
248
248
  console.log('removing standalone');
249
- if (type === 'embedded') {
249
+ if (type === 'embedded' && !_.isEmpty(that.state.formData)) {
250
250
  that.removeStandAlone();
251
251
  } else {
252
252
  that.addVersion(count, tabCount);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "2.0.0",
4
+ "version": "2.0.1",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",