Fix view group operation by not sending __typename (#15092)

Following https://github.com/twentyhq/twenty/pull/15052
This commit is contained in:
Paul Rastoin
2025-10-14 18:16:20 +02:00
committed by GitHub
parent 9495d07566
commit 85a570db6b
4 changed files with 4 additions and 4 deletions
@@ -195,7 +195,7 @@ export const useCreateViewFromCurrentView = (viewBarComponentId?: string) => {
} satisfies ViewGroup);
await createViewGroupRecords(
viewGroupsToCreate.map((viewGroup) => ({
viewGroupsToCreate.map(({ __typename, ...viewGroup }) => ({
input: {
...viewGroup,
viewId: newViewId,