@capillarytech/creatives-library 2.0.12 → 2.0.13
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.
|
@@ -29,6 +29,7 @@ function SlideBoxContent(props) {
|
|
|
29
29
|
toggleShowSlideBox,
|
|
30
30
|
showSlideBox,
|
|
31
31
|
} = props;
|
|
32
|
+
const type = messageDetails.type.toLowerCase(); // type is context in get tags values : outbound | dvs | referral | loyalty | coupons
|
|
32
33
|
const query = { type: 'embedded', module: 'library' };
|
|
33
34
|
const creativesLocationProps = {
|
|
34
35
|
pathname: `/sms/edit`,
|
|
@@ -87,7 +88,7 @@ function SlideBoxContent(props) {
|
|
|
87
88
|
route={{ name: 'sms' }}
|
|
88
89
|
isGetFormData={isGetFormData}
|
|
89
90
|
getFormSubscriptionData={getFormData}
|
|
90
|
-
getDefaultTags={
|
|
91
|
+
getDefaultTags={type}
|
|
91
92
|
subscriptionTemplateDetails={templateData}
|
|
92
93
|
/>
|
|
93
94
|
)}
|
|
@@ -98,7 +99,7 @@ function SlideBoxContent(props) {
|
|
|
98
99
|
isComponent
|
|
99
100
|
isGetFormData={isGetFormData}
|
|
100
101
|
getFormSubscriptionData={getFormData}
|
|
101
|
-
getDefaultTags={
|
|
102
|
+
getDefaultTags={type}
|
|
102
103
|
/>
|
|
103
104
|
)}
|
|
104
105
|
{isEditEmailWithId && (
|
|
@@ -113,7 +114,7 @@ function SlideBoxContent(props) {
|
|
|
113
114
|
params={{ id: templateData._id }}
|
|
114
115
|
templateData={templateData}
|
|
115
116
|
getFormSubscriptionData={getFormData}
|
|
116
|
-
getDefaultTags={
|
|
117
|
+
getDefaultTags={type}
|
|
117
118
|
/>
|
|
118
119
|
)}
|
|
119
120
|
{isEmailEditWithContent && (
|
|
@@ -128,7 +129,7 @@ function SlideBoxContent(props) {
|
|
|
128
129
|
params={{ id: templateData._id }}
|
|
129
130
|
templateData={templateData}
|
|
130
131
|
getFormSubscriptionData={getFormData}
|
|
131
|
-
getDefaultTags={
|
|
132
|
+
getDefaultTags={type}
|
|
132
133
|
/>
|
|
133
134
|
)}
|
|
134
135
|
</CreativesWrapper>
|