From: Stas Vilchik Date: Fri, 2 Oct 2015 12:01:07 +0000 (+0200) Subject: SONAR-6848 apply feedback X-Git-Tag: 5.2-RC1~107 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e8f409da88b88e266ad88e22accad2418d2c284f;p=sonarqube.git SONAR-6848 apply feedback --- diff --git a/server/sonar-web/src/main/js/apps/projects/constants.js b/server/sonar-web/src/main/js/apps/projects/constants.js index 70cbf8f4f86..74d7e5fee5a 100644 --- a/server/sonar-web/src/main/js/apps/projects/constants.js +++ b/server/sonar-web/src/main/js/apps/projects/constants.js @@ -1,4 +1,4 @@ -export const PAGE_SIZE = 30; +export const PAGE_SIZE = 50; export const QUALIFIERS_ORDER = ['TRK', 'VW', 'DEV']; diff --git a/server/sonar-web/src/main/js/apps/projects/main.js b/server/sonar-web/src/main/js/apps/projects/main.js index 8bb5492ac02..5db96f6ede9 100644 --- a/server/sonar-web/src/main/js/apps/projects/main.js +++ b/server/sonar-web/src/main/js/apps/projects/main.js @@ -154,7 +154,7 @@ export default React.createClass({ deleteProjects() { let ids = this.state.selection.join(','); deleteComponents({ ids }).done(() => { - this.setState({ selection: [] }, this.requestProjects); + this.setState({ page: 1, selection: [] }, this.requestProjects); }); },