Unverified Commit ff29734d authored by Hossein Ahmadian-Yazdi's avatar Hossein Ahmadian-Yazdi Committed by GitHub
Browse files

pass the current term to load page (#5895)

parent 11e4888c
......@@ -85,7 +85,7 @@ export default class TeamList extends React.PureComponent {
searchTeamsDebounced = debounce((page, term) => this.searchTeams(page, term), 300);
nextPage = () => {
this.loadPage(this.state.page + 1);
this.loadPage(this.state.page + 1, this.state.term);
}
previousPage = () => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment