fix(ui/users): searching for users on Users page shows incorrect roles (#9474)

This commit is contained in:
kushagra-apptware 2023-12-19 17:29:37 +05:30 committed by GitHub
parent 7b067822bd
commit 1124ccc4ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ export const UserList = () => {
query: (query?.length && query) || undefined,
},
},
fetchPolicy: (query?.length || 0) > 0 ? 'no-cache' : 'cache-first',
fetchPolicy: 'no-cache',
});
const totalUsers = usersData?.listUsers?.total || 0;