1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-13 05:40:28 +05:30

Fix race condition.

It takes time for the emit function to actually fire.
This commit is contained in:
FireMasterK 2021-04-07 16:51:49 +05:30
parent 56464aeca0
commit 6099ad742c
No known key found for this signature in database
GPG Key ID: 8DFF5DD33E93DB58

View File

@ -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) {