project-icp / bee-pollinator-app

The web application front end for the ICP Pollinator Decision Support Tool 🐝
Apache License 2.0
6 stars 1 forks source link

Prevent entering a spring survey without a fall survey #558

Closed dboyer closed 4 years ago

dboyer commented 4 years ago

Implement a check that prevents users from completing a Spring survey if no previous Fall survey exists for that apiary.

Should the user incorrectly begin a Spring survey, they will be prompted to exit the survey and add a Fall survey first.

rajadain commented 4 years ago

Swapped in this instead of #559

rajadain commented 4 years ago

This should be a front-end check only, no need to add validation in the back-end preventing addition of Spring surveys without corresponding Fall surveys.