aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 (