mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-04-25 01:03:36 +00:00
Feat: Misc improvements (#107)
* Expand SCSS variables for improved theming * Redesign 404 page with dynamic movie quotes * Add password generator page * Add missing Plex authentication page * Improve torrent table and torrents page * Enhance toast notification component * Enhance popup components * Refine UI components and remove DarkmodeToggle * Add user profile component for settings * Update autocomplete dropdown component * Update register page * Redesign signin and register pages with improved UX * Improve torrent table with sort toggle and highlight colors * eslint & prettier fixes
This commit is contained in:
@@ -95,7 +95,8 @@
|
||||
}
|
||||
|
||||
function parseElasticResponse(elasticResponse: IAutocompleteSearchResults) {
|
||||
const data = elasticResponse.hits.hits;
|
||||
const { hits } = elasticResponse.hits;
|
||||
const data = hits.length > 0 ? hits : (searchResults.value ?? []);
|
||||
|
||||
const results: Array<IAutocompleteResult> = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user