harvard-lil/h2o

Prevent multiple document adds when adding legal docs

lizadaly opened this issue · 0 comments

Followup to #1963

It's possible, if you really love clicking buttons, to click multiple times and add multiple copies of the same document when using the new add-legal-doc flow.

Once the user has made a selection from the search results, additional clicks should not trigger new POST events, and only one copy of the document should be added to the casebook per search.