diff --git a/CHANGELOG.md b/CHANGELOG.md index 23ee3982..edb7c5af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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` diff --git a/src/components/util/list/list.jsx b/src/components/util/list/list.jsx index 9ea9ebc2..2b885939 100644 --- a/src/components/util/list/list.jsx +++ b/src/components/util/list/list.jsx @@ -91,7 +91,7 @@ function List({ } // search - const localSearch = searchParams || localStorage.search || ""; + const localSearch = searchParams || localStorage.getItem(localStorageKeys.SEARCH) || ""; params.delete("search"); if (localSearch) {