Fix view group operation by not sending __typename (#15092)
Following https://github.com/twentyhq/twenty/pull/15052
This commit is contained in:
@@ -152,7 +152,7 @@ export const useSaveCurrentViewGroups = () => {
|
||||
|
||||
await Promise.all([
|
||||
createViewGroupRecords(
|
||||
viewGroupsToCreate.map((viewGroup) => ({
|
||||
viewGroupsToCreate.map(({ __typename, ...viewGroup }) => ({
|
||||
input: {
|
||||
...viewGroup,
|
||||
viewId: view.id,
|
||||
|
||||
Reference in New Issue
Block a user