ucdavis / Peaks

https://getpeaks.ucdavis.edu/
MIT License
7 stars 2 forks source link

add error in modal if user navigates (via url) to a page that gives an error #1325

Open laholstege opened 11 months ago

laholstege commented 11 months ago

e.g. /people/details/{person.id}/equipment/details/{id that does not exist or is not assigned to user} or just /equipment/details/{equipment id that does not exist}

jSylvestre commented 11 months ago

Shouldn't that go to our error page instead of a modal?

laholstege commented 11 months ago

i was just picturing an error within the modals, currently nothing renders

jSylvestre commented 11 months ago

How about a toast for that?

laholstege commented 11 months ago

yeah, i'm good with that