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: correct envExpanError calculation
Andrew Bastin6cd11fcd3a55
diff --git a/packages/hoppscotch-app/components/environments/Edit.vue b/packages/hoppscotch-app/components/environments/Edit.vueindex 7f7ca203f..0f7e70fa4 100644--- a/packages/hoppscotch-app/components/environments/Edit.vue+++ b/packages/hoppscotch-app/components/environments/Edit.vue@@ -169,10 +169,7 @@ export default defineComponent({computed: {evnExpandError(): boolean {for (const variable of this.vars) {- const result = parseTemplateStringE(- variable.value,- this.workingEnv?.variables ?? []- )+ const result = parseTemplateStringE(variable.value, this.vars)if (E.isLeft(result)) {console.error("error", result.left)