diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-10-02 14:01:07 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-10-02 14:01:07 +0200 |
commit | e8f409da88b88e266ad88e22accad2418d2c284f (patch) | |
tree | d784b82a62321af7a0bedbb5bfc462eed84f6e8b /server/sonar-web/src/main | |
parent | fccefba5bd06d0b7d9635bb8d8b3523351822362 (diff) | |
download | sonarqube-e8f409da88b88e266ad88e22accad2418d2c284f.tar.gz sonarqube-e8f409da88b88e266ad88e22accad2418d2c284f.zip |
SONAR-6848 apply feedback
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r-- | server/sonar-web/src/main/js/apps/projects/constants.js | 2 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/projects/main.js | 2 |
2 files changed, 2 insertions, 2 deletions
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); }); }, |