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