diff --git a/frontend/src/pages/groups/group-view.js b/frontend/src/pages/groups/group-view.js index 48af9c3e3a..c16c351c8d 100644 --- a/frontend/src/pages/groups/group-view.js +++ b/frontend/src/pages/groups/group-view.js @@ -95,9 +95,11 @@ class GroupView extends React.Component { isStaff: isStaff, isDepartmentGroup: isDepartmentGroup, isOwner: isOwner, + currentPage: 1, repoList: [] // empty it for the current group + }, () => { + this.loadRepos(this.state.currentPage); }); - this.loadRepos(this.state.currentPage); }).catch((error) => { this.setState({ isLoading: false,