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 }) => {
|
defineActionHandler("modals.environment.add", ({ envName, variableName }) => {
|
||||||
editingVariableName.value = envName
|
editingVariableName.value = envName
|
||||||
if (variableName) editingVariableValue.value = variableName
|
editingVariableValue.value = variableName ?? ""
|
||||||
displayModalNew(true)
|
displayModalNew(true)
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user