change admin edit role modal to edit user (#7035)

change edit role modal to edit user
This commit is contained in:
Prospector
2026-08-07 13:20:05 -07:00
committed by GitHub
parent bca5303ae3
commit 2e8aaa31be
22 changed files with 330 additions and 343 deletions
+3
View File
@@ -34,6 +34,9 @@ const userProfile = provideUserProfile({
getOrganizations: (userId) => client.labrinth.users_v2.getOrganizations(userId),
getCollections: (userId) => client.labrinth.users_v2.getCollections(userId),
patchUser: (userId, patch) => client.labrinth.users_v2.patch(userId, patch),
changeAvatar: (userId, file, extension) =>
client.labrinth.users_v2.changeIcon(userId, file, extension),
deleteAvatar: (userId) => client.labrinth.users_v2.deleteIcon(userId),
getBlockedUsers: () => client.labrinth.blocked_users_v3.list(),
blockUser: (userId) => client.labrinth.blocked_users_v3.block(userId),
unblockUser: (userId) => client.labrinth.blocked_users_v3.unblock(userId),