@capillarytech/creatives-library 2.0.39 → 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={
|
|
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
|
-
|
|
2458
|
-
}
|
|
2456
|
+
// if (isLoading) {
|
|
2457
|
+
// this.props.creativesContainerActions.hideCreativesContanerLoader();
|
|
2458
|
+
// }
|
|
2459
2459
|
return isLoading;
|
|
2460
2460
|
}
|
|
2461
2461
|
renderConfirmationModal() {
|
|
@@ -21,7 +21,6 @@ import FormBuilder from '../../../components/FormBuilder';
|
|
|
21
21
|
import * as actions from './actions';
|
|
22
22
|
import messages from './messages';
|
|
23
23
|
import * as charCount from '../../../utils/smsCharCount';
|
|
24
|
-
import { checkUnicode} from '../../../utils/smsCharCountV2';
|
|
25
24
|
import * as globalActions from '../../../containers/Cap/actions';
|
|
26
25
|
import {getMessageObject} from '../../../utils/messageUtils';
|
|
27
26
|
import * as creativesContainerActions from '../../CreativesContainer/actions';
|
|
@@ -911,9 +910,9 @@ export class Create extends React.Component { // eslint-disable-line react/prefe
|
|
|
911
910
|
if (!isLoading) {
|
|
912
911
|
isLoading = this.state.loadingStatus < 2;
|
|
913
912
|
}
|
|
914
|
-
if (isLoading && this.state.loadingStatus >= 2) {
|
|
915
|
-
|
|
916
|
-
}
|
|
913
|
+
// if (isLoading && this.state.loadingStatus >= 2) {
|
|
914
|
+
// this.props.creativesContainerActions.hideCreativesContanerLoader();
|
|
915
|
+
// }
|
|
917
916
|
return isLoading;
|
|
918
917
|
}
|
|
919
918
|
render() {
|
|
@@ -924,7 +923,7 @@ export class Create extends React.Component { // eslint-disable-line react/prefe
|
|
|
924
923
|
tags = this.props.supportedTags; // if get default tags is not present and supported tags is present use that inlbrary mode
|
|
925
924
|
}
|
|
926
925
|
return (
|
|
927
|
-
<div>
|
|
926
|
+
<div className="sms-create-container">
|
|
928
927
|
<Spin spinning={spinning}>
|
|
929
928
|
{/*<\Row style={{marginBottom: '16px', marginLeft: '-40px'}}>
|
|
930
929
|
<Col offset={1}>
|
|
@@ -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
|
-
|
|
901
|
-
}
|
|
899
|
+
// if (isLoading && this.state.loadingStatus >= 3) {
|
|
900
|
+
// this.props.creativesContainerActions.hideCreativesContanerLoader();
|
|
901
|
+
// }
|
|
902
902
|
return isLoading;
|
|
903
903
|
}
|
|
904
904
|
render() {
|
|
@@ -911,7 +911,7 @@ export class Edit extends React.Component { // eslint-disable-line react/prefer-
|
|
|
911
911
|
tags = this.props.supportedTags;
|
|
912
912
|
}
|
|
913
913
|
return (
|
|
914
|
-
<div>
|
|
914
|
+
<div className="sms-email-container">
|
|
915
915
|
<Spin tip={tipText} spinning={spinning}>
|
|
916
916
|
{/*<Row style={{marginBottom: '16px', marginLeft: '-40px'}}>
|
|
917
917
|
<Col offset={1}>
|