This is an automated email from the ASF dual-hosted git repository. bbovenzi pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push: new 3c063b15707 Reset error state after successfully adding a connection (#49364) 3c063b15707 is described below commit 3c063b157076e24e184f63205d07e7032f883ffb Author: Jason <46563896+jsjasons...@users.noreply.github.com> AuthorDate: Wed Apr 16 23:48:52 2025 +0700 Reset error state after successfully adding a connection (#49364) --- airflow-core/src/airflow/ui/src/queries/useAddConnection.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/airflow-core/src/airflow/ui/src/queries/useAddConnection.ts b/airflow-core/src/airflow/ui/src/queries/useAddConnection.ts index 626dd10afd3..24aa2715883 100644 --- a/airflow-core/src/airflow/ui/src/queries/useAddConnection.ts +++ b/airflow-core/src/airflow/ui/src/queries/useAddConnection.ts @@ -37,6 +37,8 @@ export const useAddConnection = ({ onSuccessConfirm }: { onSuccessConfirm: () => title: "Connection Add Request Submitted", type: "success", }); + + setError(undefined); onSuccessConfirm(); };