Skip to content

Commit

Permalink
Refresh admin search result on cancel from the edit reporting page as…
Browse files Browse the repository at this point in the history
… you can also update user details on the page without updating the reporting access. Refresh page to display updated details. (#727)
  • Loading branch information
felder101 authored Jan 7, 2025
1 parent eba470c commit 2d225fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions training-front-end/src/components/AdminSearchUser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@
function cancelEdit(){
setSelectedUser(undefined)
setSelectedAgencyId(undefined)
// refresh search on cancel from edit reporting page as you can also update user details on the page without
// updating the reporting access. Refresh page to display updated details.
search()
}
async function updateUserSuccess(message) {
Expand Down

0 comments on commit 2d225fc

Please sign in to comment.