@mjhls/mjh-framework 1.0.752 → 1.0.753

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # mjh-framework v. 1.0.752
1
+ # mjh-framework v. 1.0.753
2
2
  [![NPM](https://img.shields.io/npm/v/mjh-framework.svg)](https://www.npmjs.com/package/mjh-framework) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
3
3
 
4
4
  ## Install
@@ -422,7 +422,7 @@ var generateContentPlacements = function generateContentPlacements(issues) {
422
422
  issue.taxonomyMapping && issue.taxonomyMapping.forEach(function (tm) {
423
423
  if (!contentPlacements.find(function (cp) {
424
424
  return cp.identifier === tm.identifier;
425
- })) {
425
+ }) && tm) {
426
426
  contentPlacements.push({ _id: tm._id, name: tm.name, identifier: tm.identifier });
427
427
  }
428
428
  });
@@ -412,7 +412,7 @@ var generateContentPlacements = function generateContentPlacements(issues) {
412
412
  issue.taxonomyMapping && issue.taxonomyMapping.forEach(function (tm) {
413
413
  if (!contentPlacements.find(function (cp) {
414
414
  return cp.identifier === tm.identifier;
415
- })) {
415
+ }) && tm) {
416
416
  contentPlacements.push({ _id: tm._id, name: tm.name, identifier: tm.identifier });
417
417
  }
418
418
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.752",
3
+ "version": "1.0.753",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",