diff options
author | Philippe Perrin <philippe.perrin@sonarsource.com> | 2019-11-11 08:58:07 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-12-09 20:46:16 +0100 |
commit | 956001c58e66df580b0a3a8b91cb886b84980971 (patch) | |
tree | db9ec5dcdc5c98b93055993b58f6e07930527ef8 /server/sonar-web/src/main/js/apps/projectBaseline | |
parent | fe9dd29337def7804fc77d1ad75364a9eaf5476f (diff) | |
download | sonarqube-956001c58e66df580b0a3a8b91cb886b84980971.tar.gz sonarqube-956001c58e66df580b0a3a8b91cb886b84980971.zip |
SONAR-12634 Reorganize the branches & pull requests selection menu
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projectBaseline')
-rw-r--r-- | server/sonar-web/src/main/js/apps/projectBaseline/__tests__/__snapshots__/BranchList-test.tsx.snap | 6 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/projectBaseline/components/BranchList.tsx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/apps/projectBaseline/__tests__/__snapshots__/BranchList-test.tsx.snap b/server/sonar-web/src/main/js/apps/projectBaseline/__tests__/__snapshots__/BranchList-test.tsx.snap index df73eeeaa98..96c102bf2ec 100644 --- a/server/sonar-web/src/main/js/apps/projectBaseline/__tests__/__snapshots__/BranchList-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projectBaseline/__tests__/__snapshots__/BranchList-test.tsx.snap @@ -29,7 +29,7 @@ exports[`should render correctly 1`] = ` <td className="nowrap" > - <BranchIcon + <BranchLikeIcon branchLike={ Object { "analysisDate": "2018-01-01", @@ -79,7 +79,7 @@ exports[`should render correctly 1`] = ` <td className="nowrap" > - <BranchIcon + <BranchLikeIcon branchLike={ Object { "analysisDate": "2018-01-01", @@ -115,7 +115,7 @@ exports[`should render correctly 1`] = ` <td className="nowrap" > - <BranchIcon + <BranchLikeIcon branchLike={ Object { "analysisDate": "2018-01-01", diff --git a/server/sonar-web/src/main/js/apps/projectBaseline/components/BranchList.tsx b/server/sonar-web/src/main/js/apps/projectBaseline/components/BranchList.tsx index 9aa7ffdf8b9..94cdebad8f7 100644 --- a/server/sonar-web/src/main/js/apps/projectBaseline/components/BranchList.tsx +++ b/server/sonar-web/src/main/js/apps/projectBaseline/components/BranchList.tsx @@ -24,7 +24,7 @@ import ActionsDropdown, { import DeferredSpinner from 'sonar-ui-common/components/ui/DeferredSpinner'; import { translate } from 'sonar-ui-common/helpers/l10n'; import { listBranchesNewCodePeriod, resetNewCodePeriod } from '../../../api/newCodePeriod'; -import BranchIcon from '../../../components/icons-components/BranchIcon'; +import BranchLikeIcon from '../../../components/icons/BranchLikeIcon'; import DateTimeFormatter from '../../../components/intl/DateTimeFormatter'; import { isBranch, sortBranches } from '../../../helpers/branches'; import BranchBaselineSettingModal from './BranchBaselineSettingModal'; @@ -176,7 +176,7 @@ export default class BranchList extends React.PureComponent<Props, State> { {branches.map(branch => ( <tr key={branch.name}> <td className="nowrap"> - <BranchIcon branchLike={branch} className="little-spacer-right" /> + <BranchLikeIcon branchLike={branch} className="little-spacer-right" /> {branch.name} {branch.isMain && ( <div className="badge spacer-left">{translate('branches.main_branch')}</div> |