fix: focus existing request tab instead of duplicating (#5452)

Addresses an issue where multiple tabs would open even when a request tab was already active. It now correctly switches to the active tab instead.
This commit is contained in:
Nivedin 2025-10-07 17:21:00 +05:30 committed by GitHub
parent 2b9b45ea76
commit a5e9f83066
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {