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
feat: checks only if not default param (#2410)
Moritz Mock2d0bd48e0007
diff --git a/packages/hoppscotch-app/components/collections/my/Request.vue b/packages/hoppscotch-app/components/collections/my/Request.vueindex 40b69e167..339df7422 100644--- a/packages/hoppscotch-app/components/collections/my/Request.vue+++ b/packages/hoppscotch-app/components/collections/my/Request.vue@@ -322,6 +322,7 @@ const setRestReq = (request: any) => {)}+/** Loads request from the save once, checks for unsaved changes, but ignores default values */const selectRequest = () => {if (!active.value) {confirmChange.value = true@@ -362,6 +363,9 @@ const selectRequest = () => {setRESTSaveContext(null)}}+ if (isEqualHoppRESTRequest(getRESTRequest(), getDefaultRESTRequest())) {+ confirmChange.value = false+ }}/** Save current request to the collection */