From ac564ea6b7bd42a8a34fab338df417d2608e76cb Mon Sep 17 00:00:00 2001 From: Phillip Kelley-Dotson Date: Wed, 26 Jan 2022 15:52:15 -0800 Subject: [PATCH] feat: add success message for database modal (#18183) --- .../src/views/CRUD/data/database/DatabaseModal/index.tsx | 2 ++ 1 file changed, 2 insertions(+) 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 ae4cff8bb5b37..8283aeb2eb644 100644 --- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx +++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx @@ -597,6 +597,7 @@ const DatabaseModal: FunctionComponent = ({ } if (!editNewDb) { onClose(); + addSuccessToast(t('Database settings updated')); } } } else if (db) { @@ -615,6 +616,7 @@ const DatabaseModal: FunctionComponent = ({ // tab layout only has one step // so it should close immediately on save onClose(); + addSuccessToast(t('Database connected')); } } }