Skip to content

Conversation

taylor-steve
Copy link
Contributor

Minor refactor for the code that handles the situation where two users/browser tabs are looking at the same set of exhibit contacts and both try to delete the same contact.

The current implementation's handler is overscoped and event.detail.fetchResponse could be undefined, which can cause errors in applications that use Turbo. This gets us back to a working state.

This removes some jQuery for events we aren't using any more after the move from v4.

@taylor-steve taylor-steve marked this pull request as ready for review January 31, 2025 18:35
@jcoyne jcoyne merged commit c7e6517 into main Jan 31, 2025
6 checks passed
@jcoyne jcoyne deleted the refactor-contact-delete-error-handler branch January 31, 2025 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants