Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: focus existing request tab instead of duplicating (#5452)
Nivedina5e9f830664f
diff --git a/packages/hoppscotch-common/src/components/collections/index.vue b/packages/hoppscotch-common/src/components/collections/index.vueindex 4dab62074..8178a6f44 100644--- a/packages/hoppscotch-common/src/components/collections/index.vue+++ b/packages/hoppscotch-common/src/components/collections/index.vue@@ -2085,7 +2085,9 @@ const selectRequest = (selectedRequest: {originLocation: "user-collection",requestIndex: parseInt(requestIndex),folderPath: folderPath!,+ requestRefID: request._ref_id ?? request.id,})+if (possibleTab) {tabs.setActiveTab(possibleTab.value.id)} else {