Skip to content

Commit

Permalink
feat: add success message for database modal (apache#18183)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkdotson authored and ofekisr committed Feb 8, 2022
1 parent 88cd500 commit 81e895d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,7 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
}
if (!editNewDb) {
onClose();
addSuccessToast(t('Database settings updated'));
}
}
} else if (db) {
Expand All @@ -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'));
}
}
}
Expand Down

0 comments on commit 81e895d

Please sign in to comment.