@salesforcedevs/dx-components 0.19.2 → 0.19.3

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/dx-components",
3
- "version": "0.19.2",
3
+ "version": "0.19.3",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -29,5 +29,5 @@
29
29
  "@types/debounce": "^1.2.0",
30
30
  "@types/lodash.get": "^4.4.6"
31
31
  },
32
- "gitHead": "8bfc13904276093b75868ad2c4d9003d74873fbb"
32
+ "gitHead": "3e316062ee2d79d71aebcbc69d327f24ebefa8fc"
33
33
  }
@@ -291,7 +291,10 @@ export default class SidebarSearch extends LightningElement {
291
291
  } else {
292
292
  const isNestedGuide = clickUri.includes("/guide/");
293
293
  const url = new URL(clickUri);
294
- const extension = isNestedGuide ? ".html" : "";
294
+ const extension =
295
+ isNestedGuide && !url.pathname?.endsWith(".html")
296
+ ? ".html"
297
+ : "";
295
298
  pathname = `${url.pathname}${extension}`;
296
299
  }
297
300