Skip to content

Commit

Permalink
Merge pull request #3389 from specify/issue-2164
Browse files Browse the repository at this point in the history
Make popup box disappear after adding unassociated item in New Loan Form
  • Loading branch information
CarolineDenis committed Apr 24, 2023
2 parents 6c24b9c + 5016f7d commit 51ea557
Showing 1 changed file with 4 additions and 3 deletions.
Expand Up @@ -234,9 +234,10 @@ export function InteractionDialog({
<Button.DialogClose>{commonText.close()}</Button.DialogClose>
{typeof itemCollection === 'object' ? (
<Button.Blue
onClick={(): void =>
availablePrepsReady(undefined, undefined, [])
}
onClick={(): void => {
availablePrepsReady(undefined, undefined, []);
handleClose();
}}
>
{interactionsText.addUnassociated()}
</Button.Blue>
Expand Down

0 comments on commit 51ea557

Please sign in to comment.