Exit group edit mode

This commit is contained in:
Natsumi
2025-08-26 19:21:36 +12:00
parent 6b0061bf88
commit d0eca482fa

View File

@@ -2538,6 +2538,7 @@
} }
async function getUserGroups(userId) { async function getUserGroups(userId) {
exitEditModeCurrentUserGroups();
userDialog.value.isGroupsLoading = true; userDialog.value.isGroupsLoading = true;
userGroups.value = { userGroups.value = {
groups: [], groups: [],
@@ -2859,9 +2860,6 @@
userRequest.saveCurrentUser({ userRequest.saveCurrentUser({
allowAvatarCopying: !currentUser.value.allowAvatarCopying allowAvatarCopying: !currentUser.value.allowAvatarCopying
}); });
// .then((args) => {
// return args;
// });
} }
function resetHome() { function resetHome() {