@salesforcedevs/dx-components 0.18.5 → 0.18.6
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.18.
|
|
3
|
+
"version": "0.18.6",
|
|
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": "
|
|
32
|
+
"gitHead": "96ffe81875c4a7168b81cfe7f10a83e23d522d29"
|
|
33
33
|
}
|
|
@@ -284,10 +284,6 @@ export default class SidebarSearch extends LightningElement {
|
|
|
284
284
|
// discussion about this normalization here: https://salesforce-internal.slack.com/archives/C020S6784JX/p1639506238376600
|
|
285
285
|
|
|
286
286
|
const isOverview = clickUri.endsWith("/overview");
|
|
287
|
-
const isSfDocsRoot =
|
|
288
|
-
isOverview ||
|
|
289
|
-
clickUri.endsWith("/references") ||
|
|
290
|
-
clickUri.endsWith("/guide");
|
|
291
287
|
|
|
292
288
|
const query = isOverview ? "" : `?q=${this.value}`;
|
|
293
289
|
let pathname;
|
|
@@ -295,7 +291,7 @@ export default class SidebarSearch extends LightningElement {
|
|
|
295
291
|
pathname = `/docs/${sfhtml_url__c}`;
|
|
296
292
|
} else {
|
|
297
293
|
const url = new URL(clickUri);
|
|
298
|
-
const extension =
|
|
294
|
+
const extension = clickUri.includes("/guide/") ? ".html" : "";
|
|
299
295
|
pathname = `${url.pathname}${extension}`;
|
|
300
296
|
}
|
|
301
297
|
|