Skip to content

Commit

Permalink
Fix reactivity of update user
Browse files Browse the repository at this point in the history
  • Loading branch information
Amnish04 committed Feb 11, 2024
1 parent 8416ad3 commit 4088239
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ export class UserManagementPageComponent implements OnInit {
.updateUserById(this.currentUser.uid!, newUser)
.subscribe({
next: (res) => {
this.userService.userDataUpdated.next(true);

this.notificationService.open(
'User updated successfully!',
undefined,
Expand Down

0 comments on commit 4088239

Please sign in to comment.