@capillarytech/creatives-library 7.17.63 → 7.17.64

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "7.17.63",
4
+ "version": "7.17.64",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -1016,7 +1016,7 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
1016
1016
  } = {},
1017
1017
  } = {},
1018
1018
  } = {},
1019
- } = template;
1019
+ } = template || {};
1020
1020
  if (this.props.isFullMode && !this.props.isDltFromRcs && !(this.state.channel.toUpperCase() === WHATSAPP && status === WHATSAPP_STATUSES.approved) && !(this.state.hostName === HOST_GUPSHUP)) {
1021
1021
  templateData.extra.push(<CapDropdown
1022
1022
  overlay={