]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-6848 apply feedback
authorStas Vilchik <vilchiks@gmail.com>
Fri, 2 Oct 2015 12:01:07 +0000 (14:01 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 2 Oct 2015 12:01:07 +0000 (14:01 +0200)
server/sonar-web/src/main/js/apps/projects/constants.js
server/sonar-web/src/main/js/apps/projects/main.js

index 70cbf8f4f86186c262be743c1b2a2d78b2db057c..74d7e5fee5a316a0169079e75669e6319ed7ca8b 100644 (file)
@@ -1,4 +1,4 @@
-export const PAGE_SIZE = 30;
+export const PAGE_SIZE = 50;
 
 export const QUALIFIERS_ORDER = ['TRK', 'VW', 'DEV'];
 
index 8bb5492ac0264a6362716a1132fe6a2c9ec1d554..5db96f6ede9f766e217d99cc07872d184b21f2e1 100644 (file)
@@ -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);
     });
   },