@salesforcedevs/docs-components 0.70.1 → 0.72.0

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.70.1",
3
+ "version": "0.72.0",
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": "6f8ff92765133cf354bfb06a36a6249027c5c80e"
27
+ "gitHead": "fd347f27dc9472a9ead4f35f701b8914ba9f872e"
28
28
  }
@@ -587,6 +587,7 @@ export default class DocXmlContent extends LightningElementWithState<{
587
587
  }
588
588
 
589
589
  const currentNode = this.tocMap[contentDocumentId];
590
+
590
591
 
591
592
  if(currentNode?.parent) {
592
593
  this.breadcrumbs = this.nodeToBreadcrumb(currentNode);
@@ -604,11 +605,8 @@ export default class DocXmlContent extends LightningElementWithState<{
604
605
  label: node.label
605
606
  };
606
607
 
607
- if(node.parent) {
608
- return [
609
- ...this.nodeToBreadcrumb(node.parent),
610
- item
611
- ];
608
+ if (node.parent) {
609
+ return [...this.nodeToBreadcrumb(node.parent), item];
612
610
  }
613
611
 
614
612
  return [item];