From 8a0597de3dd688000e593a9fbef8a7cfbb4b532a Mon Sep 17 00:00:00 2001 From: Kai Arrowood Date: Wed, 13 Mar 2024 15:07:13 -0400 Subject: [PATCH] fix(plugins): persist query params on tab change [khcp-11068] (#1236) Make sure query params are peristed when changing tabs. Fixes [KHCP-11068](https://konghq.atlassian.net/browse/KHCP-11068). --- .../entities/entities-plugins/src/components/PluginSelect.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/entities/entities-plugins/src/components/PluginSelect.vue b/packages/entities/entities-plugins/src/components/PluginSelect.vue index 6023870d22..45b2ff7988 100644 --- a/packages/entities/entities-plugins/src/components/PluginSelect.vue +++ b/packages/entities/entities-plugins/src/components/PluginSelect.vue @@ -392,7 +392,7 @@ const fetchEntityPluginsUrl = computed((): string => { }) const onTabsChange = (hash: string) => { - router.replace({ hash }) + router.replace({ hash, query: route.query }) } // race condition between fetch of available plugins and setting