@capillarytech/creatives-library 7.10.31 → 7.10.33
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
|
@@ -420,8 +420,8 @@ class Creatives extends React.Component {
|
|
|
420
420
|
if (get(template, "value.versions.base")) {
|
|
421
421
|
const mobilpushTemplate = template.value;
|
|
422
422
|
templateData.accountId = get(mobilpushTemplate, 'definition.accountId');
|
|
423
|
-
const
|
|
424
|
-
if(
|
|
423
|
+
const type = (get(this.props,"messageDetails.type") || '').toLowerCase();
|
|
424
|
+
if(type === LOYALTY){
|
|
425
425
|
templateData.licenseCode = get(mobilpushTemplate, 'definition.licenseCode');
|
|
426
426
|
}
|
|
427
427
|
const androidContent = get(mobilpushTemplate, 'versions.base.ANDROID');
|