@salesforcedevs/dx-components 0.63.0 → 0.63.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/dx-components",
3
- "version": "0.63.0",
3
+ "version": "0.63.1",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -25,5 +25,5 @@
25
25
  "@types/lodash.get": "^4.4.6",
26
26
  "@types/vimeo__player": "^2.16.2"
27
27
  },
28
- "gitHead": "7c284ec7eaa387a82e1ce20d74d0aefc7346a8d7"
28
+ "gitHead": "68b83e9181604ceaadfda8f8466e5cee989f68eb"
29
29
  }
@@ -310,7 +310,11 @@ export default class SidebarSearch extends LightningElement {
310
310
  let isSelected = false;
311
311
  const isReferenceUrl = clickUri.includes("/references/");
312
312
  if (isReferenceUrl) {
313
- href = `${pathname}${queryParam}&q=${this.value}`;
313
+ if (queryParam) {
314
+ href = `${pathname}${queryParam}&q=${this.value}`;
315
+ } else {
316
+ href = `${pathname}?q=${this.value}`;
317
+ }
314
318
 
315
319
  //NOTE: This is specific to references related comparison
316
320
  const resultHrefWithMetaQuery = `${pathname}${queryParam}`;