Skip to content

Commit

Permalink
feat: add success message for database modal (#18183)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkdotson committed Jan 26, 2022
1 parent fa11a97 commit ac564ea
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 ac564ea

Please sign in to comment.