Fix view group operation by not sending __typename (#15092)
Following https://github.com/twentyhq/twenty/pull/15052
This commit is contained in:
@@ -195,7 +195,7 @@ export const useCreateViewFromCurrentView = (viewBarComponentId?: string) => {
|
||||
} satisfies ViewGroup);
|
||||
|
||||
await createViewGroupRecords(
|
||||
viewGroupsToCreate.map((viewGroup) => ({
|
||||
viewGroupsToCreate.map(({ __typename, ...viewGroup }) => ({
|
||||
input: {
|
||||
...viewGroup,
|
||||
viewId: newViewId,
|
||||
|
||||
Reference in New Issue
Block a user