diff --git a/airflow/www/static/js/connection_form.js b/airflow/www/static/js/connection_form.js index 453be58411a9b..2451da05a34eb 100644 --- a/airflow/www/static/js/connection_form.js +++ b/airflow/www/static/js/connection_form.js @@ -135,7 +135,7 @@ function handleTestConnection(connectionType, testableConnections) { $(testButton).hide(); return; } - if (configTestConnection === "disabled") { + if (configTestConnection !== "enabled") { // If test connection is not enabled in config, disable button and display toolip // alerting the user. $(testButton)