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.
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.