Made conditions to change display for agency login
Issues
Agency dashboard display needs to be configured
Found a bug with data refresh after post. It seems to post okay, and was working fine with the local data, but getData() with promise.resolve or promise.all is not working. Will make an issue.
[ ] DRY & SRP
[ ] Tested Locally
[ ] Accessibility Audited
Notes
I played around with Promise.all and Promise.resolve and returning/not returning them inside function, but my reload after clearing the local trips, destinations, and travelers arrays are not getting resolved, despite logging in the api. Getting a weird 'local0808' URL get error despite all the fetches being to a 3001 server.
To test username: traveler(whateveruseridbetween1-50) password: travel2020 for a traveler user
username: agency password: travel2020 for a travel agent
Changes
Issues
Agency dashboard display needs to be configured
Found a bug with data refresh after post. It seems to post okay, and was working fine with the local data, but
getData()
with promise.resolve or promise.all is not working. Will make an issue.[ ] DRY & SRP
[ ] Tested Locally
[ ] Accessibility Audited
Notes
username: traveler(whateveruseridbetween1-50) password: travel2020
for a traveler userusername: agency password: travel2020
for a travel agent