aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/overview/meta/Meta.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/overview/meta/Meta.js')
-rw-r--r--server/sonar-web/src/main/js/apps/overview/meta/Meta.js17
1 files changed, 7 insertions, 10 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 00fefefe32a..defccb6e9ba 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
@@ -42,7 +42,6 @@ const Meta = ({
const { qualifier, description, qualityProfiles, qualityGate } = component;
const isProject = qualifier === 'TRK';
- const isApplication = qualifier === 'APP';
const hasDescription = !!description;
const hasQualityProfiles = Array.isArray(qualityProfiles) && qualityProfiles.length > 0;
@@ -62,15 +61,13 @@ const Meta = ({
{isProject && <MetaTags component={component} onComponentChange={onComponentChange} />}
- {(isProject || isApplication) && (
- <AnalysesList
- branch={branch}
- project={component.key}
- qualifier={component.qualifier}
- history={history}
- router={router}
- />
- )}
+ <AnalysesList
+ branch={branch}
+ component={component}
+ qualifier={component.qualifier}
+ history={history}
+ router={router}
+ />
{shouldShowQualityGate && (
<MetaQualityGate