@capillarytech/creatives-library 7.17.75-alpha.0 → 7.17.76
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
|
@@ -197,7 +197,7 @@ class CapTagList extends React.Component { // eslint-disable-line react/prefer-s
|
|
|
197
197
|
supportedTagsString += `${supportedTag} ,`;
|
|
198
198
|
});
|
|
199
199
|
supportedTagsString = supportedTagsString.replace(/,\s*$/, "");
|
|
200
|
-
const tagDescriptionOrName = _.toLower(_.get(val, 'desc', '') || _.get(val, 'name', ''));
|
|
200
|
+
const tagDescriptionOrName = _.toLower(String(_.get(val, 'desc', '') || _.get(val, 'name', '')));
|
|
201
201
|
const searchStringLower = _.toLower(searchString);
|
|
202
202
|
const tagContainsSearchedString = tagDescriptionOrName.includes(searchStringLower);
|
|
203
203
|
if (_.has(val, 'subtags')) {
|