@salesforcedevs/docs-components 0.19.4 → 0.21.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.19.4",
3
+ "version": "0.21.1",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -14,5 +14,5 @@
14
14
  "publishConfig": {
15
15
  "access": "public"
16
16
  },
17
- "gitHead": "39c2b11a0335b375a640ee0c5dcd9bf778bf89bb"
17
+ "gitHead": "0bc4dfed21c8b36dc921f5d9e5a1977217abe46c"
18
18
  }
@@ -183,7 +183,9 @@ export default class Content extends LightningElement {
183
183
  }
184
184
  }
185
185
 
186
- if (!anchorEl.href.includes("/docs/")) {
186
+ // ! This is a hack
187
+ // Normalize urls in case it doesn't come complete.
188
+ if (anchorEl.href.startsWith("atlas.")) {
187
189
  anchorEl.href = "/docs/" + anchorEl.href;
188
190
  }
189
191