Skip to content

Commit

Permalink
include onDatabaseAdd on successful import
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomedina248 committed Jun 6, 2022
1 parent 59367a6 commit 7fe0307
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,7 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
confirmedOverwrite,
);
if (dbId) {
if (onDatabaseAdd) onDatabaseAdd();
onClose();
addSuccessToast(t('Database connected'));
}
Expand Down

0 comments on commit 7fe0307

Please sign in to comment.