@capillarytech/creatives-library 7.17.34 → 7.17.35-alpha.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utils/common.js +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "7.17.34",
4
+ "version": "7.17.35-alpha.2",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
package/utils/common.js CHANGED
@@ -98,7 +98,7 @@ export function getTreeStructuredTags({tagsList, userLocale = 'en', offerDetails
98
98
  }
99
99
  if (!hasCustomerBarcodeFeatureEnabled()) {
100
100
  //filtering CUSTOMER_BARCODE_TAG if org does not have CUSTOMER_BARCODE_TAG feature enabled
101
- clonedTags = _.omit(clonedTags, CUSTOMER_BARCODE_TAG);
101
+ clonedTags = filterTags(CUSTOMER_BARCODE_TAG, clonedTags);
102
102
  }
103
103
  _.forEach(clonedTags, (temp) => {
104
104
  const tag = temp.definition;