@salesforcedevs/dx-components 1.3.92-alpha-002-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
|
@@ -355,6 +355,9 @@ export default class SidebarSearch extends LightningElement {
|
|
|
355
355
|
isSelected = pathname === window.location.pathname;
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
+
console.log(result);
|
|
359
|
+
const resultStringified = JSON.stringify(result);
|
|
360
|
+
console.log(resultStringified);
|
|
358
361
|
return {
|
|
359
362
|
title,
|
|
360
363
|
titleHighlights,
|
|
@@ -363,7 +366,7 @@ export default class SidebarSearch extends LightningElement {
|
|
|
363
366
|
uniqueId,
|
|
364
367
|
href,
|
|
365
368
|
selected: isSelected,
|
|
366
|
-
select: () => window.localStorage.setItem(RESULT_CLICK_LOCAL_STORAGE_KEY,
|
|
369
|
+
select: () => window.localStorage.setItem(RESULT_CLICK_LOCAL_STORAGE_KEY, resultStringified),
|
|
367
370
|
};
|
|
368
371
|
};
|
|
369
372
|
|