mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-05 14:19:56 -05:00
Search Suggestions are debounced and only the latest response is used to set the results.
This commit is contained in:
parent
2d16374421
commit
e59ec3e9ac
8 changed files with 118 additions and 74 deletions
|
|
@ -1025,10 +1025,10 @@ export async function searchSuggestions(search_str) {
|
|||
if (response.ok) {
|
||||
const content = await response.json();
|
||||
|
||||
const fileGroups = content['file_groups'];
|
||||
const zimsEstimates = content['zims_estimates'];
|
||||
const channels = content['channels'];
|
||||
const domains = content['domains'];
|
||||
const fileGroups = content.file_groups;
|
||||
const zimsEstimates = content.zims_estimates;
|
||||
const channels = content.channels;
|
||||
const domains = content.domains;
|
||||
return {
|
||||
fileGroups,
|
||||
zimsEstimates,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue