User mapping FE - Refetch sourceUsers list when user is reassigned

The goal of this issue is to address the bug raised in https://gitlab.com/gitlab-org/manage/import-and-integrate/discussions/-/issues/116#note_2132962490

Changing the sort direction (ASC or DESC) does not consistently apply the sort to the users list.

Proposal

diff --git a/app/assets/javascripts/members/placeholders/components/placeholder_actions.vue b/app/assets/javascripts/members/placeholders/components/placeholder_actions.vue
index 739a5a4701f0..47f8b3630551 100644
--- a/app/assets/javascripts/members/placeholders/components/placeholder_actions.vue
+++ b/app/assets/javascripts/members/placeholders/components/placeholder_actions.vue
@@ -255,7 +255,7 @@ export default {
               ...(hasSelectedUser ? { userId: this.selectedUser.id } : {}),
             },
             // importSourceUsersQuery used in placeholders_table.vue
-            refetchQueries: [hasSelectedUser ? {} : importSourceUsersQuery],
+            refetchQueries: [importSourceUsersQuery],
           })
           .then(({ data }) => {
             const { errors } = getFirstPropertyValue(data);
Edited by Oiza Baiye