This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch pexdax/db-connection-ui-show-available
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 112a53e838ad10a8a821daf45aeb7ac15d86fb83
Author: hughhhh <[email protected]>
AuthorDate: Thu May 27 17:39:22 2021 -0400

    fix on close
---
 superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx 
b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
index 687bcd4..96da700 100644
--- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
+++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
@@ -180,7 +180,7 @@ function dbReducer(
       };
     case ActionType.reset:
     default:
-      return {};
+      return null;
   }
 }
 

Reply via email to