Skip to content

Commit

Permalink
Allow to add record set for cog children
Browse files Browse the repository at this point in the history
Fixes #5486
  • Loading branch information
CarolineDenis committed Dec 19, 2024
1 parent 4e24a2b commit a55861b
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ export function COJODialog({
multiple
searchView={undefined}
table={resourceTable as SpecifyTable<CollectionObject>}
onAdd={(rsResources): void => {
rsResources.forEach((resource) => {
handleCOJOCreation(resource);
});
handleStates();
}}
onClose={(): void => setState(undefined)}
onSelected={(selectedResources): void => {
selectedResources.forEach((selectedResource) => {
Expand Down

0 comments on commit a55861b

Please sign in to comment.