|
@@ -92,7 +92,7 @@ const UserGroupDetailPage: FC = () => {
|
|
|
const res = await apiv3Put<{ userGroup: IUserGroupHasId }>(`/user-groups/${userGroup._id}`, {
|
|
const res = await apiv3Put<{ userGroup: IUserGroupHasId }>(`/user-groups/${userGroup._id}`, {
|
|
|
name: update.name,
|
|
name: update.name,
|
|
|
description: update.description,
|
|
description: update.description,
|
|
|
- parentId,
|
|
|
|
|
|
|
+ parentId: parentId ?? null,
|
|
|
forceUpdateParents,
|
|
forceUpdateParents,
|
|
|
});
|
|
});
|
|
|
const { userGroup: updatedUserGroup } = res.data;
|
|
const { userGroup: updatedUserGroup } = res.data;
|