Skip to content

Commit

Permalink
don't update filterReplays on POP
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilNarayana committed Nov 3, 2020
1 parent 014ee80 commit 15cdbca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/FileLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export default class FileLoader extends Component {
constructor(props) {
super(props);

this.props.setFilterReplays(true);
this.state = {
selections: [],
};
Expand All @@ -60,6 +59,7 @@ export default class FileLoader extends Component {
// The action when returning from the stats page is "POP". The action when coming from the
// main menu is "PUSH". When coming from the main menu, we want to reload the files such that
// any new files show up correctly
this.props.setFilterReplays(true);
this.props.loadRootFolder();

// Arriving at the file browser from the top level menu should reset the scroll position because
Expand Down

0 comments on commit 15cdbca

Please sign in to comment.