@capillarytech/creatives-library 0.1.13 → 0.1.14

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.
@@ -116,7 +116,7 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
116
116
  }
117
117
 
118
118
  componentDidMount() {
119
- if (this.props.location.query.type === 'embedded' && this.props.location.query === "library") {
119
+ if (this.props.location.query.type === 'embedded' && this.props.location.query.module === "library") {
120
120
  this.setLocale();
121
121
  }
122
122
  if (this.state.channel.toLowerCase() === 'sms' || this.state.channel.toLowerCase() === 'email' || this.state.channel.toLowerCase() === 'ebill' || ((this.state.channel.toLowerCase() === 'wechat' || this.state.channel.toLowerCase() === 'mobilepush') && !_.isEmpty(this.props.Templates.selectedWeChatAccount))) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "0.1.13",
4
+ "version": "0.1.14",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",