mirror of
https://github.com/apache/superset.git
synced 2026-04-21 17:14:57 +00:00
feat: add success message for database modal (#18183)
This commit is contained in:
committed by
GitHub
parent
fa11a97585
commit
ac564ea6b7
@@ -597,6 +597,7 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
|
||||
}
|
||||
if (!editNewDb) {
|
||||
onClose();
|
||||
addSuccessToast(t('Database settings updated'));
|
||||
}
|
||||
}
|
||||
} else if (db) {
|
||||
@@ -615,6 +616,7 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
|
||||
// tab layout only has one step
|
||||
// so it should close immediately on save
|
||||
onClose();
|
||||
addSuccessToast(t('Database connected'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user