codeamp / panel

CodeAmp Web Application. Built with React.js, GraphQL and Material-UI.
12 stars 7 forks source link

Reset feature list when navigate away page #357

Open davechan813 opened 5 years ago

davechan813 commented 5 years ago

How to reproduce bug:

  1. Go to the 'features' page and have all your features deployed, when filtering by 'new' commits you shouldn't see anything, which is fine

  2. Select the 'all' view to see all the features, deployed or not, that works too

  3. Then if you navigate away and come back, the selector is set to 'new' but you get the view for 'all'

What I did: Call setFeature function when component consturcts