whole-tale / dashboard

Whole Tale Dashboard
http://wholetale.org
MIT License
7 stars 2 forks source link

Fixed the case where no filter was set on Browse #606

Closed bodom0015 closed 4 years ago

bodom0015 commented 4 years ago

Problem

A recent change to the filter behavior on the Browse view causes the code to improperly set the filter value when no filter was detected from localStorage.

This problem was introduced in #599 and fixes #604

Approach

Set the filter properly in this case

How to Test

Prerequisites: clear your localStorage, or run in a fresh incognito window

  1. Checkout and run this branch locally, rebuild the dashboard
  2. Login to the WholeTale Dashboard
  3. Navigate to the Browse view
    • You should see a list of all Tales here, with their images properly rendered