From b295d9ee469c0d7e1641c34f57202c17a6e6189e Mon Sep 17 00:00:00 2001 From: RONAK Date: Mon, 16 Dec 2024 13:13:01 +0530 Subject: [PATCH] Update DocsLibraryLink.vue --- docs/common/DocsLibraryLink.vue | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/common/DocsLibraryLink.vue b/docs/common/DocsLibraryLink.vue index 8377730a0..ac72c79d0 100644 --- a/docs/common/DocsLibraryLink.vue +++ b/docs/common/DocsLibraryLink.vue @@ -1,8 +1,8 @@ @@ -17,6 +17,16 @@ required: true, }, }, + computed: { + computedLink() { + // Preserve query parameters in the link + return { + path: '/' + this.component.toLowerCase(), + query: { ...this.$route.query }, + }; + }, + }, + };