Switch back to first page when fetching new items (#55821)
This commit is contained in:
parent
66be6ffae8
commit
c71f4dd162
|
@ -164,6 +164,7 @@ class SavedObjectFinderUi extends React.Component<
|
|||
if (query === this.state.query) {
|
||||
this.setState({
|
||||
isFetchingItems: false,
|
||||
page: 0,
|
||||
items: resp.savedObjects.map(savedObject => {
|
||||
const {
|
||||
attributes: { title },
|
||||
|
|
Loading…
Reference in a new issue