From 781cfeb652510cbc5e82873b871ec26def64d5d0 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 11 Oct 2022 21:12:36 +0530 Subject: [PATCH] Pass query parameters while redirecting Closes https://git.maharshi.ninja/root/Piped-redesign/issues/20 --- src/components/Video/VideoRedirect.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Video/VideoRedirect.vue b/src/components/Video/VideoRedirect.vue index 1080f6b..64407e7 100644 --- a/src/components/Video/VideoRedirect.vue +++ b/src/components/Video/VideoRedirect.vue @@ -9,7 +9,7 @@ export default { if (videoId) { this.$router.replace({ path: '/watch', - query: { v: videoId } + query: { v: videoId, ...this.$route.query } }) } }