diff options
author | Pascal Mugnier <pascal.mugnier@sonarsource.com> | 2018-05-28 11:55:56 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-05-29 20:20:47 +0200 |
commit | 8aba91e2773be64fd0279446499c899170ee2ab9 (patch) | |
tree | 5e66a8d8748e3c82fef997edc4bc3adde0a93f8e /server/sonar-web | |
parent | f138d383ba38185ce6d8c2f9f8fb83c20d10d7ef (diff) | |
download | sonarqube-8aba91e2773be64fd0279446499c899170ee2ab9.tar.gz sonarqube-8aba91e2773be64fd0279446499c899170ee2ab9.zip |
SONAR-10711 Add pagination object to api/qualityprofile/projects webservice
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileProjects.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileProjects.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileProjects.tsx index b73f69f04fc..29a1c9617da 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileProjects.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileProjects.tsx @@ -55,7 +55,7 @@ export default class ProfileProjects extends React.PureComponent<Props, State> { componentDidUpdate(prevProps: Props) { if (prevProps.profile !== this.props.profile) { - this.loadProjects(); + this.setState({ projects: null, page: 1 }, this.loadProjects); } } |