fix(common): ensure the add-environment modal value field is empty when opened via the inspector (#3664)

This commit is contained in:
James George
2023-12-18 20:39:23 +05:30
committed by GitHub
parent fad31a47ee
commit 5179cf59a4

View File

@@ -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>