mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-30 18:43:17 +00:00
Fix race condition.
It takes time for the emit function to actually fire.
This commit is contained in:
parent
56464aeca0
commit
6099ad742c
@ -64,7 +64,7 @@ export default {
|
||||
this.setSelected(i);
|
||||
this.$router.push({
|
||||
name: "SearchResults",
|
||||
query: { search_query: this.searchText }
|
||||
query: { search_query: this.searchSuggestions[i] }
|
||||
});
|
||||
},
|
||||
setSelected(val) {
|
||||
|
Loading…
Reference in New Issue
Block a user