Skip to content

Commit

Permalink
Close password dialog when user click save in profile view
Browse files Browse the repository at this point in the history
  • Loading branch information
CDimonaco committed May 9, 2024
1 parent db2e86a commit 8b8f164
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion assets/js/pages/Profile/ProfileForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ function ProfileForm({
>
<ProfilePasswordChangeForm
loading={loading}
onSave={onSave}
onSave={(payload) => {
onSave(payload);
setPasswordDialogOpen(false);
}}
onCancel={() => setPasswordDialogOpen(false)}
errors={errors}
/>
Expand Down

0 comments on commit 8b8f164

Please sign in to comment.