@capillarytech/creatives-library 0.1.18 → 0.1.19

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.
@@ -468,11 +468,12 @@ export class WeChat extends React.Component { // eslint-disable-line react/prefe
468
468
  }
469
469
  });
470
470
  }
471
- if (nextProps.location.query.type === "embedded" && nextProps.location.query.module === "library" && nextProps.templateData && nextProps.templateData.versions) { // Edit of already added message in library mode
472
- this.setState({editTemplateData: nextProps.templateData}, () => {
473
- this.setEditData();
474
- });
475
- }
471
+ // has to be un commented when wechat edit is implemented in embedded mode.
472
+ // if (nextProps.location.query.type === "embedded" && nextProps.location.query.module === "library" && nextProps.templateData && nextProps.templateData.versions) { // Edit of already added message in library mode
473
+ // this.setState({editTemplateData: nextProps.templateData}, () => {
474
+ // this.setEditData();
475
+ // });
476
+ // }
476
477
  if (nextProps.params.id && !_.isEqual(nextProps.params.id, this.props.params.id)) {
477
478
  this.setState({isEdit: true});
478
479
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "0.1.18",
4
+ "version": "0.1.19",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
File without changes