Skip to content

Commit

Permalink
fix(autocompletecontroller): allow queries with spaces to be submitted
Browse files Browse the repository at this point in the history
  • Loading branch information
dkonieczek committed May 4, 2022
1 parent fbbb773 commit f3c1c61
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export class AutocompleteController extends AbstractController {

// cancel search if no input or query doesn't match current urlState
if (ac.response.autocomplete.query != ac.controller.urlManager.state.query) {
ac.controller.store.loading = false;
return false;
}
});
Expand Down

0 comments on commit f3c1c61

Please sign in to comment.