File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/dashboard/Data/Browser Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,13 @@ class Browser extends DashboardView {
149
149
this . cancelPendingEditRows = this . cancelPendingEditRows . bind ( this ) ;
150
150
151
151
this . dataBrowserRef = React . createRef ( ) ;
152
+ window . addEventListener ( 'popstate' , ( ) => {
153
+ this . setState ( {
154
+ relation : null ,
155
+ data : null ,
156
+ } )
157
+ this . refresh ( ) ;
158
+ } ) ;
152
159
}
153
160
154
161
componentWillMount ( ) {
@@ -832,6 +839,7 @@ class Browser extends DashboardView {
832
839
const url = `${ this . getRelationURL ( ) } ${ filterQueryString ? `?filters=${ filterQueryString } ` : '' } ` ;
833
840
history . push ( url ) ;
834
841
} ) ;
842
+ this . fetchRelation ( relation , filters ) ;
835
843
}
836
844
837
845
handlePointerClick ( { className, id, field = 'objectId' } ) {
You can’t perform that action at this time.
0 commit comments