Skip to content

Commit

Permalink
update internal state properly
Browse files Browse the repository at this point in the history
  • Loading branch information
g3gg0 committed Aug 20, 2023
1 parent 45d7a39 commit 9a1f918
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/data/www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,7 @@ <h2>Client certificate upload</h2>

handlePopState = (event) => {
if (event.state && event.state.path && event.state.mode) {
this.setState({ path: event.state.path, mode: event.state.mode });
this.fetchFileIndex(event.state.path, event.state.mode, true);
}
};
Expand Down

0 comments on commit 9a1f918

Please sign in to comment.