cisagov/RedEye

Turning on show hidden beacons button causes search to crash

MarkisK opened this issue · 1 comments

Describe the bug
When a user is within the explorer mode, if the user clicks the settings and turns on the show hidden beacons buttons and attempts to open the search it shows that an error occurred

To Reproduce
Steps to reproduce the behavior:

  1. Click to open a current campaign
  2. Click the search button to view the proper state
  3. Add some search text
  4. Close the search modal and click the general settings
  5. Turn on the show hidden beacon button
  6. Close the settings modal and click the search
  7. View the error occurred message

Expected behavior
Search opens with the search bar at the top and allows user to search

Screenshots
Screen Shot 2022-10-18 at 7 49 13 AM

Desktop (please complete the following information):

  • OS: [Mac]
  • Browser [firefox]
  • Version [105]

Additional context
Clicking the try again button returns the modal to working state until the show hidden beacon button is clicked again

Tried with and without search text. The error appears to be in searchSelect function but I have not took a deep dive into it.