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): ensure the add-environment modal value field is empty when opened via the inspector (#3664)
James George5179cf59a455
diff --git a/packages/hoppscotch-common/src/components/environments/index.vue b/packages/hoppscotch-common/src/components/environments/index.vueindex 951af21ae..ea526a16e 100644--- a/packages/hoppscotch-common/src/components/environments/index.vue+++ b/packages/hoppscotch-common/src/components/environments/index.vue@@ -296,7 +296,7 @@ watch(defineActionHandler("modals.environment.add", ({ envName, variableName }) => {editingVariableName.value = envName- if (variableName) editingVariableValue.value = variableName+ editingVariableValue.value = variableName ?? ""displayModalNew(true)})</script>