diff options
author | Jeremy Davis <jeremy.davis@sonarsource.com> | 2020-12-16 17:00:29 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-12-22 20:09:37 +0000 |
commit | d30fb63f3535dd0a4643f5123f38b5755d34de53 (patch) | |
tree | c623fdca5bdca037c88f7a0e667ee772469a4901 /server/sonar-web/src/main/js/app/components/ComponentContainer.tsx | |
parent | abced7a7e962a91b53b0d50465a01d6100d87a57 (diff) | |
download | sonarqube-d30fb63f3535dd0a4643f5123f38b5755d34de53.tar.gz sonarqube-d30fb63f3535dd0a4643f5123f38b5755d34de53.zip |
SONAR-13999 Drop orgs from Components
Diffstat (limited to 'server/sonar-web/src/main/js/app/components/ComponentContainer.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/app/components/ComponentContainer.tsx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/server/sonar-web/src/main/js/app/components/ComponentContainer.tsx b/server/sonar-web/src/main/js/app/components/ComponentContainer.tsx index 02ac49bfea0..e32bd7bf28a 100644 --- a/server/sonar-web/src/main/js/app/components/ComponentContainer.tsx +++ b/server/sonar-web/src/main/js/app/components/ComponentContainer.tsx @@ -32,11 +32,7 @@ import { isPullRequest } from '../../helpers/branch-like'; import { getPortfolioUrl } from '../../helpers/urls'; -import { - fetchOrganization, - registerBranchStatus, - requireAuthorization -} from '../../store/rootActions'; +import { registerBranchStatus, requireAuthorization } from '../../store/rootActions'; import { BranchLike } from '../../types/branch-like'; import { isPortfolioLike } from '../../types/component'; import { Task, TaskStatuses, TaskWarning } from '../../types/tasks'; @@ -47,7 +43,6 @@ import ComponentNav from './nav/component/ComponentNav'; interface Props { children: React.ReactElement; - fetchOrganization: (organization: string) => void; location: Pick<Location, 'query' | 'pathname'>; registerBranchStatus: (branchLike: BranchLike, component: string, status: T.Status) => void; requireAuthorization: (router: Pick<Router, 'replace'>) => void; @@ -379,6 +374,6 @@ export class ComponentContainer extends React.PureComponent<Props, State> { } } -const mapDispatchToProps = { fetchOrganization, registerBranchStatus, requireAuthorization }; +const mapDispatchToProps = { registerBranchStatus, requireAuthorization }; export default withRouter(connect(null, mapDispatchToProps)(ComponentContainer)); |