diff --git a/src/dashboard/Data/Browser/Browser.react.js b/src/dashboard/Data/Browser/Browser.react.js index 9cfecb36b..8e3535735 100644 --- a/src/dashboard/Data/Browser/Browser.react.js +++ b/src/dashboard/Data/Browser/Browser.react.js @@ -150,12 +150,11 @@ class Browser extends DashboardView { this.redirectToFirstClass = this.redirectToFirstClass.bind(this); this.dataBrowserRef = React.createRef(); + window.addEventListener('popstate', () => { this.setState({ - relation: null, - data: null, + relation: null }) - this.refresh(); }); }