@capillarytech/creatives-library 7.17.66-alpha.2 → 7.17.66-alpha.3

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.66-alpha.2",
4
+ "version": "7.17.66-alpha.3",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -92,7 +92,7 @@ export class TagList extends React.Component { // eslint-disable-line react/pref
92
92
  console.log(`selected Badges: ${props.selectedOfferDetails}, ${JSON.stringify(tags)}`);
93
93
  if (props.selectedOfferDetails && !_.isEmpty(props.selectedOfferDetails) ) {
94
94
  console.log(`selected offers: ${JSON.stringify(props.selectedOfferDetails)}`);
95
- if ((props?.selectedOfferDetails[0]?.type === 'BADGES') && (tags && tags?.badge) ) {
95
+ if ((props?.selectedOfferDetails[0]?.type === 'BADGES') && (tags && tags?.Badge) ) {
96
96
  transformBadgeTags(props.selectedOfferDetails, tags);
97
97
  } else if (tags && tags?.coupon) {
98
98
  this.transformCouponTags(props.selectedOfferDetails, tags);