Post #10014 merged nitpicks followup (#10021)

## Only nitpicks
Method signature mutation from several to one record arg
Renamed a variable in map to fit related business logic

#10014 Followup
This commit is contained in:
Paul Rastoin
2025-02-05 14:28:17 +01:00
committed by GitHub
parent 5c24cf4084
commit c3c800b097
5 changed files with 15 additions and 9 deletions

View File

@ -146,7 +146,10 @@ export const useCreateViewFromCurrentView = (viewBarComponentId?: string) => {
fieldMetadataId: kanbanFieldMetadataId,
} satisfies ViewGroup);
await createViewGroupRecords(viewGroupsToCreate, newView);
await createViewGroupRecords({
viewGroupsToCreate,
viewId: newView.id,
});
}
if (shouldCopyFiltersAndSortsAndAggregate === true) {