diff --git a/packages/hoppscotch-common/src/components/environments/index.vue b/packages/hoppscotch-common/src/components/environments/index.vue index 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) })