Skip to content

Commit 43618f5

Browse files
committed
2804: Fixed local storage search
1 parent f80a92e commit 43618f5

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,21 @@ All notable changes to this project will be documented in this file.
55

66
## [Unreleased]
77

8+
- [#266](https://github.com/os2display/display-admin-client/pull/266)
9+
- Fixed search from local storage.
810
- [#265](https://github.com/os2display/display-admin-client/pull/265)
911
- Add no-cache directive
10-
1112
- [#263](https://github.com/os2display/display-admin-client/pull/263)
1213
- Added prefix to local storage keys.
13-
1414
- [#262](https://github.com/os2display/display-admin-client/pull/262)
1515
- Add multi select styling for `invalid` state
1616
- Add possibility of sending error via props to multiselect component
1717
- Add validation checking if layout is selected on screen before save
1818
- Add validation checking if template is selected on slide before save
19-
2019
- [#260](https://github.com/os2display/display-admin-client/pull/260)
2120
- Bug in multiselect, fixed by removing duplicates by key both `@id`and `id`
2221
- [#265](https://github.com/os2display/display-admin-client/pull/265)
2322
- Bug in multiselect, fixed by removing duplicates by key both `@id`and `id`
24-
2523
- [#259](https://github.com/os2display/display-admin-client/pull/259)
2624
- Add saving of playlists/groups with screen (as opposed to _after_)
2725
- Clean up `screen-manager.jsx`

src/components/util/list/list.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function List({
9191
}
9292

9393
// search
94-
const localSearch = searchParams || localStorage.search || "";
94+
const localSearch = searchParams || localStorage.getItem(localStorageKeys.SEARCH) || "";
9595
params.delete("search");
9696

9797
if (localSearch) {

0 commit comments

Comments
 (0)