mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Fix race condition.
It takes time for the emit function to actually fire.
This commit is contained in:
parent
8cf8fc8048
commit
f00e663f10
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ export default {
|
||||||
this.setSelected(i);
|
this.setSelected(i);
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: "SearchResults",
|
name: "SearchResults",
|
||||||
query: { search_query: this.searchText }
|
query: { search_query: this.searchSuggestions[i] }
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
setSelected(val) {
|
setSelected(val) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue