Skip to content

Commit 7d9b957

Browse files
authored
fix: using browser navigation backward / forward button clears data browser (#2317)
1 parent bd975b0 commit 7d9b957

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/dashboard/Data/Browser/Browser.react.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,11 @@ class Browser extends DashboardView {
150150
this.redirectToFirstClass = this.redirectToFirstClass.bind(this);
151151

152152
this.dataBrowserRef = React.createRef();
153+
153154
window.addEventListener('popstate', () => {
154155
this.setState({
155-
relation: null,
156-
data: null,
156+
relation: null
157157
})
158-
this.refresh();
159158
});
160159
}
161160

0 commit comments

Comments
 (0)