@salesforcedevs/docs-components 0.69.2 → 0.70.1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/docs-components",
3
- "version": "0.69.2",
3
+ "version": "0.70.1",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -24,5 +24,5 @@
24
24
  "@types/lodash.orderby": "^4.6.7",
25
25
  "@types/lodash.uniqby": "^4.7.7"
26
26
  },
27
- "gitHead": "57f2c7b6dbeda99ecf4ad713b32816f03f0d7db3"
27
+ "gitHead": "6f8ff92765133cf354bfb06a36a6249027c5c80e"
28
28
  }
@@ -588,7 +588,7 @@ export default class DocXmlContent extends LightningElementWithState<{
588
588
 
589
589
  const currentNode = this.tocMap[contentDocumentId];
590
590
 
591
- if(currentNode.parent) {
591
+ if(currentNode?.parent) {
592
592
  this.breadcrumbs = this.nodeToBreadcrumb(currentNode);
593
593
  } else {
594
594
  this.breadcrumbs = [];