Import - Increase record import limit (#12627)
<img width="700" alt="Screenshot 2025-06-16 at 15 05 09" src="https://github.com/user-attachments/assets/a09c3fae-c0ae-4a63-8bda-9d29c97a6a66" /> closes https://github.com/twentyhq/twenty/issues/11980
This commit is contained in:
@ -31,12 +31,12 @@ export const usePersistViewGroupRecords = () => {
|
||||
({ viewGroupsToCreate, viewId }: CreateViewGroupRecordsArgs) => {
|
||||
if (viewGroupsToCreate.length === 0) return;
|
||||
|
||||
return createManyRecords(
|
||||
viewGroupsToCreate.map((viewGroup) => ({
|
||||
return createManyRecords({
|
||||
recordsToCreate: viewGroupsToCreate.map((viewGroup) => ({
|
||||
...viewGroup,
|
||||
viewId,
|
||||
})),
|
||||
);
|
||||
});
|
||||
},
|
||||
[createManyRecords],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user