@salesforcedevs/dx-components 1.3.92-alpha-002-localstorage → 1.3.92-alpha-003-localstorage

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": "1.3.92-alpha-002-localstorage",
3
+ "version": "1.3.92-alpha-003-localstorage",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -355,6 +355,7 @@ export default class SidebarSearch extends LightningElement {
355
355
  isSelected = pathname === window.location.pathname;
356
356
  }
357
357
 
358
+ console.log(result);
358
359
  return {
359
360
  title,
360
361
  titleHighlights,
@@ -363,7 +364,7 @@ export default class SidebarSearch extends LightningElement {
363
364
  uniqueId,
364
365
  href,
365
366
  selected: isSelected,
366
- select: () => window.localStorage.setItem(RESULT_CLICK_LOCAL_STORAGE_KEY, JSON.stringify(result)),
367
+ select: () => window.localStorage.setItem(RESULT_CLICK_LOCAL_STORAGE_KEY, result),
367
368
  };
368
369
  };
369
370