mirror of
https://github.com/apache/superset.git
synced 2026-04-23 01:55:09 +00:00
fix: UI toast typo (#13026)
* fix: UI toast typo * translate * fix error msg
This commit is contained in:
committed by
GitHub
parent
b3a814fa27
commit
3e0681b438
@@ -302,11 +302,11 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
|
||||
.then(() => {
|
||||
setDB(dbFetched);
|
||||
})
|
||||
.catch(e =>
|
||||
.catch(errMsg =>
|
||||
addDangerToast(
|
||||
t(
|
||||
'Sorry there was an error fetching database information: %s',
|
||||
e.message,
|
||||
errMsg.message,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user