Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed local storage search #266

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading