Pass query parameters while redirecting

Closes https://git.maharshi.ninja/root/Piped-redesign/issues/20
This commit is contained in:
root
2022-10-11 21:12:36 +05:30
parent fa8f4f279c
commit 781cfeb652
+1 -1
View File
@@ -9,7 +9,7 @@ export default {
if (videoId) {
this.$router.replace({
path: '/watch',
query: { v: videoId }
query: { v: videoId, ...this.$route.query }
})
}
}