[BUGFIX] Create optimistic cache generate recordGqlFields from prefilled record (#10493)
# Introduction The record does not appear in the table because the optimistic record input cached does not fulfill the mutation response fields, which result in it being considered as invalid response close #10199 close https://github.com/twentyhq/twenty/issues/10153
This commit is contained in:
@ -102,6 +102,7 @@ export const useCreateOneRecord = <
|
||||
recordInput: {
|
||||
...baseOptimisticRecordInputCreatedBy,
|
||||
...recordInput,
|
||||
position: Number.NEGATIVE_INFINITY,
|
||||
id: idForCreation,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user