Skip to content

Commit

Permalink
[Dashboard] Page now resets to zero when rows per page is changed in …
Browse files Browse the repository at this point in the history
…"Add from Library" panel (#118627)

* Page now resets to 0 when rows per page is changed.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
2 people authored and dmlemeshko committed Nov 29, 2021
1 parent 4e321f4 commit 6c20f46
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ class SavedObjectFinderUi extends React.Component<
}}
onChangeItemsPerPage={(perPage) => {
this.setState({
page: 0,
perPage,
});
}}
Expand Down

0 comments on commit 6c20f46

Please sign in to comment.