This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch v3-0-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 326c65cd82db82c0e8292836055a44d263b851c7 Author: Jason <[email protected]> AuthorDate: Wed Apr 16 23:48:52 2025 +0700 Reset error state after successfully adding a connection (#49364) (cherry picked from commit 3c063b157076e24e184f63205d07e7032f883ffb) --- 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(); };
