Skip to content

Commit

Permalink
adding comment to the array with one empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Deschamps Rudge authored and Luis Deschamps Rudge committed Mar 27, 2017
1 parent 0af93e2 commit d6b9ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connection/database/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ function resetPasswordSuccess(id) {
const m = read(getEntity, "lock", id);
if (hasScreen(m, "login")) {
swap(updateEntity, "lock", id, m => (
setScreen(l.setSubmitting(m, false), "login", [""])
setScreen(l.setSubmitting(m, false), "login", [""]) // array with one empty string tells the function to not clear any field
));

// TODO: should be handled by box
Expand Down

0 comments on commit d6b9ea2

Please sign in to comment.