Rebuild-Black-Business / RBB-Website

Website to help connect black-owned businesses with consumers and resources
https://www.rebuildblackbusiness.com/
MIT License
118 stars 72 forks source link

Wait for loaded state before rendering business filter #238

Closed jordanandree closed 4 years ago

jordanandree commented 4 years ago

this fixes a bug where the filters don't render the preset filters passed through URL params.

Pages/Interfaces that will change

/businesses page

Screenshots / video of changes

Before After
image image

Steps to test

Before

  1. Got to /businesses
  2. Set the Business Type to something other than All
  3. Reload the page
  4. Business Type is set to All when it should be the filter value

After

  1. Got to /businesses
  2. Set the Business Type to something other than All
  3. Reload the page
  4. Business Type is set to the filter value
netlify[bot] commented 4 years ago

Deploy request for rebuild-black-business pending review.

Review with commit a98a50860a34f85042d4f20f10f8e6c7abd60d11

https://app.netlify.com/sites/rebuild-black-business/deploys

jordanandree commented 4 years ago

URL params don't apply to business filter form state