@capillarytech/creatives-library 2.0.40 → 2.0.41

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.
@@ -80,7 +80,7 @@ function SlideBoxContent(props) {
80
80
  content={templateData.versions.base['sms-editor']}
81
81
  channel={templateData.type.toLowerCase()}
82
82
  charCounterEnabled
83
- templateData={this.props.templateData}
83
+ templateData={templateData}
84
84
  />
85
85
  )}
86
86
  {isEmailPreview && (
@@ -2453,9 +2453,9 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
2453
2453
  if (!isLoading) {
2454
2454
  isLoading = this.state.loadingStatus < 2;
2455
2455
  }
2456
- if (isLoading) {
2457
- this.props.creativesContainerActions.hideCreativesContanerLoader();
2458
- }
2456
+ // if (isLoading) {
2457
+ // this.props.creativesContainerActions.hideCreativesContanerLoader();
2458
+ // }
2459
2459
  return isLoading;
2460
2460
  }
2461
2461
  renderConfirmationModal() {
@@ -910,9 +910,9 @@ export class Create extends React.Component { // eslint-disable-line react/prefe
910
910
  if (!isLoading) {
911
911
  isLoading = this.state.loadingStatus < 2;
912
912
  }
913
- if (isLoading && this.state.loadingStatus >= 2) {
914
- this.props.creativesContainerActions.hideCreativesContanerLoader();
915
- }
913
+ // if (isLoading && this.state.loadingStatus >= 2) {
914
+ // this.props.creativesContainerActions.hideCreativesContanerLoader();
915
+ // }
916
916
  return isLoading;
917
917
  }
918
918
  render() {
@@ -896,9 +896,9 @@ export class Edit extends React.Component { // eslint-disable-line react/prefer-
896
896
  if (!isLoading) {
897
897
  isLoading = this.state.loadingStatus < 3;
898
898
  }
899
- if (isLoading && this.state.loadingStatus >= 3) {
900
- this.props.creativesContainerActions.hideCreativesContanerLoader();
901
- }
899
+ // if (isLoading && this.state.loadingStatus >= 3) {
900
+ // this.props.creativesContainerActions.hideCreativesContanerLoader();
901
+ // }
902
902
  return isLoading;
903
903
  }
904
904
  render() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "2.0.40",
4
+ "version": "2.0.41",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",