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(common): exception while clicking request history entries (#4832)
Nivedince99617aac84
diff --git a/packages/hoppscotch-common/src/components/history/Personal.vue b/packages/hoppscotch-common/src/components/history/Personal.vueindex 551e96892..e235a5c62 100644--- a/packages/hoppscotch-common/src/components/history/Personal.vue+++ b/packages/hoppscotch-common/src/components/history/Personal.vue@@ -318,8 +318,10 @@ const clearHistory = () => {// NOTE: For GQL, the HistoryGraphqlCard component already implements useEntry// (That is not a really good behaviour tho ¯\_(ツ)_/¯)const tabs = useService(RESTTabService)+const useHistory = (entry: RESTHistoryEntry) => {tabs.createNewTab({+ type: "request",request: entry.request,isDirty: false,})