OrangeAed / NC_Historic_Companion

0 stars 0 forks source link

Issue with logic for Start Tour button #7

Open OrangeAed opened 3 days ago

OrangeAed commented 3 days ago

When the "Start Tour" button at the title page of a tour is clicked, it will take you to the first location even if there are no locations. Instead an error message toast should be displayed that explains there are currently no locations for this tour.

Reproduction Steps:

  1. Start up the visitor side UI and the API
  2. Click on "Start Tour" in the tour_3 card
  3. Click on "Start Tour"

Intended Behavior: The button should instead produce a toast error message explaining that there are no locations in this tour