GSA / 889-tool

Web service for determining 889 compliance of vendors
1 stars 0 forks source link

Mmeyer/prevent double request #19

Closed mark-meyer closed 1 year ago

mark-meyer commented 1 year ago

Vue component watchers would hit the API twice when navigating from the main search page to the search results. This adds a flag to prevent this. Also adds a preventDefault handler on click events in the uswds pagination elements to prevent the void script from trying to run. This was causing CSP errors to be reported in the console.