From 2d225fc2d8f2b287c9d125d3fdc8009d3f6d766a Mon Sep 17 00:00:00 2001 From: Dan Felder <30899941+felder101@users.noreply.github.com> Date: Tue, 7 Jan 2025 14:09:10 -0500 Subject: [PATCH] Refresh admin search result on cancel from the edit reporting page as you can also update user details on the page without updating the reporting access. Refresh page to display updated details. (#727) --- training-front-end/src/components/AdminSearchUser.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/training-front-end/src/components/AdminSearchUser.vue b/training-front-end/src/components/AdminSearchUser.vue index 3c1a8afa..94cf139b 100644 --- a/training-front-end/src/components/AdminSearchUser.vue +++ b/training-front-end/src/components/AdminSearchUser.vue @@ -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) {