fix(common): ensure the add-environment modal value field is empty when opened via the inspector (#3664)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user