aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2018-11-09 09:48:36 +0100
committersonartech <sonartech@sonarsource.com>2018-11-12 10:47:56 +0100
commit6e0c165ddd6eae046a08ccb1bfba98eed2e9aaab (patch)
tree86069e61d5455c3296997e4691a9c0ffb6b3a15d /server/sonar-web/src/main/js
parent4a7f571a8550ad250b4631a033682fed422831d7 (diff)
downloadsonarqube-6e0c165ddd6eae046a08ccb1bfba98eed2e9aaab.tar.gz
sonarqube-6e0c165ddd6eae046a08ccb1bfba98eed2e9aaab.zip
SONARCLOUD-45 Remove quality gate from featured projects
Diffstat (limited to 'server/sonar-web/src/main/js')
-rw-r--r--server/sonar-web/src/main/js/apps/about/sonarcloud/components/FeaturedProjects.tsx2
-rw-r--r--server/sonar-web/src/main/js/apps/about/sonarcloud/components/__tests__/__snapshots__/FeaturedProjects-test.tsx.snap3
2 files changed, 0 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/apps/about/sonarcloud/components/FeaturedProjects.tsx b/server/sonar-web/src/main/js/apps/about/sonarcloud/components/FeaturedProjects.tsx
index e64f1d130bf..f43067ce5d6 100644
--- a/server/sonar-web/src/main/js/apps/about/sonarcloud/components/FeaturedProjects.tsx
+++ b/server/sonar-web/src/main/js/apps/about/sonarcloud/components/FeaturedProjects.tsx
@@ -24,7 +24,6 @@ import { throttle } from 'lodash';
import { FeaturedProject } from '../utils';
import CoverageRating from '../../../../components/ui/CoverageRating';
import DuplicationsRating from '../../../../components/ui/DuplicationsRating';
-import Level from '../../../../components/ui/Level';
import OrganizationAvatar from '../../../../components/common/OrganizationAvatar';
import ProjectCardLanguagesContainer from '../../../projects/components/ProjectCardLanguagesContainer';
import Rating from '../../../../components/ui/Rating';
@@ -196,7 +195,6 @@ export function ProjectCard({ project, order, viewable }: ProjectCardProps) {
<h5 className="sc-project-card-limited big-spacer-bottom" title={project.name}>
{project.name}
</h5>
- <Level level={project.gateStatus} />
</div>
<ul className="sc-project-card-measures">
<ProjectIssues
diff --git a/server/sonar-web/src/main/js/apps/about/sonarcloud/components/__tests__/__snapshots__/FeaturedProjects-test.tsx.snap b/server/sonar-web/src/main/js/apps/about/sonarcloud/components/__tests__/__snapshots__/FeaturedProjects-test.tsx.snap
index 3569ab43a29..a3ebf4ed16c 100644
--- a/server/sonar-web/src/main/js/apps/about/sonarcloud/components/__tests__/__snapshots__/FeaturedProjects-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/about/sonarcloud/components/__tests__/__snapshots__/FeaturedProjects-test.tsx.snap
@@ -37,9 +37,6 @@ exports[`should render ProjectCard correctly 1`] = `
>
Simple JS & PHP project
</h5>
- <Level
- level="OK"
- />
</div>
<ul
className="sc-project-card-measures"