@capillarytech/creatives-library 0.1.3 → 0.1.4

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.
@@ -709,6 +709,9 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
709
709
  if (this.props.params.id) {
710
710
  this.props.actions.getTemplateDetails(this.props.params.id, 'email');
711
711
  }
712
+ if (this.props.location.query.module === "library" && this.props.templateData) {
713
+ this.props.templatesActions.resetTemplateData();
714
+ }
712
715
  });
713
716
  }
714
717
  // formData[0] = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "0.1.3",
4
+ "version": "0.1.4",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",