@capillarytech/creatives-library 3.8.5 → 3.8.6
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
|
@@ -156,17 +156,17 @@ export class TagList extends React.Component { // eslint-disable-line react/pref
|
|
|
156
156
|
};
|
|
157
157
|
};
|
|
158
158
|
offerDetails.forEach((offer) => {
|
|
159
|
-
const { id, couponName
|
|
159
|
+
const { id, couponName } = offer;
|
|
160
160
|
const couponSubTags = {};
|
|
161
161
|
couponTagsKeys.forEach((couponTagKey) => {
|
|
162
162
|
const couponSubTagsObj = withCouponId(allTags.coupon.subtags[couponTagKey], id);
|
|
163
163
|
couponSubTags[couponTagKey] = couponSubTagsObj;
|
|
164
164
|
});
|
|
165
|
-
const key = couponName ||
|
|
165
|
+
const key = couponName || id;
|
|
166
166
|
couponTags[key] = {
|
|
167
167
|
'tag-header': true,
|
|
168
|
-
'name':
|
|
169
|
-
'desc':
|
|
168
|
+
'name': couponName || id,
|
|
169
|
+
'desc': couponName || id,
|
|
170
170
|
'couponSeriesId': id,
|
|
171
171
|
'subtags': couponSubTags,
|
|
172
172
|
'resolved': true,
|