Skip to content

Commit ab512e5

Browse files
authored
fix: Clicking on pointer in data browser when using pagination does not reset to first page (#2767)
1 parent bcce5c5 commit ab512e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

+4
Original file line numberDiff line numberDiff line change
@@ -1172,6 +1172,10 @@ class Browser extends DashboardView {
11721172
this.props.navigate(
11731173
generatePath(this.context, `browser/${className}?filters=${encodeURIComponent(filters)}`)
11741174
);
1175+
1176+
this.setState({
1177+
skip: 0,
1178+
});
11751179
}
11761180

11771181
handlePointerCmdClick({ className, id, field = 'objectId' }) {

0 commit comments

Comments
 (0)