diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/code/components/Search.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/code/components/Search.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/code/components/Search.tsx b/server/sonar-web/src/main/js/apps/code/components/Search.tsx index 740504eabd9..ce9b0da5407 100644 --- a/server/sonar-web/src/main/js/apps/code/components/Search.tsx +++ b/server/sonar-web/src/main/js/apps/code/components/Search.tsx @@ -27,16 +27,17 @@ import { getBranchLikeQuery } from '../../../helpers/branch-like'; import { KeyboardCodes } from '../../../helpers/keycodes'; import { translate } from '../../../helpers/l10n'; import { BranchLike } from '../../../types/branch-like'; +import { ComponentMeasure } from '../../../types/types'; import PortfolioNewCodeToggle from './PortfolioNewCodeToggle'; interface Props { branchLike?: BranchLike; - component: T.ComponentMeasure; + component: ComponentMeasure; location: Location; newCodeSelected: boolean; onSearchClear: () => void; onNewCodeToggle: (newCode: boolean) => void; - onSearchResults: (results?: T.ComponentMeasure[]) => void; + onSearchResults: (results?: ComponentMeasure[]) => void; router: Router; } |