aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2017-03-24 16:05:58 +0100
committerStas Vilchik <vilchiks@gmail.com>2017-03-24 16:06:09 +0100
commit291a176569d7850df93ccb3bb2beb5a3257ed9c9 (patch)
treed1db684735b02293dfed5132b7e0f45214eb369b
parent099ae301cc257e62c8bf9db2f2d34ef9f44e8e49 (diff)
downloadsonarqube-291a176569d7850df93ccb3bb2beb5a3257ed9c9.tar.gz
sonarqube-291a176569d7850df93ccb3bb2beb5a3257ed9c9.zip
fix search on projects page
-rw-r--r--server/sonar-web/src/main/js/apps/projects/filters/SearchFilter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/projects/filters/SearchFilter.js b/server/sonar-web/src/main/js/apps/projects/filters/SearchFilter.js
index 144bcc9f15d..1ce1141fa11 100644
--- a/server/sonar-web/src/main/js/apps/projects/filters/SearchFilter.js
+++ b/server/sonar-web/src/main/js/apps/projects/filters/SearchFilter.js
@@ -63,7 +63,7 @@ export default class SearchFilter extends React.PureComponent {
render() {
const { userQuery } = this.state;
const inputClassName = classNames('input-super-large', {
- touched: userQuery != null && userQuery.length < 2
+ touched: userQuery != null && userQuery.length === 1
});
return (