aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/sonar-web/src/main/js/apps/overview/meta/Meta.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/meta/Meta.js b/server/sonar-web/src/main/js/apps/overview/meta/Meta.js
index 70d5a4d6be0..34fd17dc77a 100644
--- a/server/sonar-web/src/main/js/apps/overview/meta/Meta.js
+++ b/server/sonar-web/src/main/js/apps/overview/meta/Meta.js
@@ -34,7 +34,7 @@ const Meta = ({ component }) => {
const hasDescription = !!description;
const hasLinks = Array.isArray(links) && !!links.length;
- const hasQualityProfiles = Array.isArray(profiles) && profiles.length;
+ const hasQualityProfiles = Array.isArray(profiles) && profiles.length > 0;
const hasQualityGate = !!gate;
const shouldShowQualityProfiles = !isView && !isDeveloper && hasQualityProfiles;