Skip to content

Commit

Permalink
Merge pull request #266 from os2display/feature/2804-fixed-local-stor…
Browse files Browse the repository at this point in the history
…age-search

Fixed local storage search
  • Loading branch information
tuj authored Oct 23, 2024
2 parents f80a92e + 43618f5 commit a091da7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,21 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

- [#266](https://github.com/os2display/display-admin-client/pull/266)
- Fixed search from local storage.
- [#265](https://github.com/os2display/display-admin-client/pull/265)
- Add no-cache directive

- [#263](https://github.com/os2display/display-admin-client/pull/263)
- Added prefix to local storage keys.

- [#262](https://github.com/os2display/display-admin-client/pull/262)
- Add multi select styling for `invalid` state
- Add possibility of sending error via props to multiselect component
- Add validation checking if layout is selected on screen before save
- Add validation checking if template is selected on slide before save

- [#260](https://github.com/os2display/display-admin-client/pull/260)
- Bug in multiselect, fixed by removing duplicates by key both `@id`and `id`
- [#265](https://github.com/os2display/display-admin-client/pull/265)
- Bug in multiselect, fixed by removing duplicates by key both `@id`and `id`

- [#259](https://github.com/os2display/display-admin-client/pull/259)
- Add saving of playlists/groups with screen (as opposed to _after_)
- Clean up `screen-manager.jsx`
Expand Down
2 changes: 1 addition & 1 deletion src/components/util/list/list.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function List({
}

// search
const localSearch = searchParams || localStorage.search || "";
const localSearch = searchParams || localStorage.getItem(localStorageKeys.SEARCH) || "";
params.delete("search");

if (localSearch) {
Expand Down

0 comments on commit a091da7

Please sign in to comment.