diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues/components/IssuesApp.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/issues/components/IssuesApp.tsx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/components/IssuesApp.tsx b/server/sonar-web/src/main/js/apps/issues/components/IssuesApp.tsx index 7a7383db6b9..2ce9343bb76 100644 --- a/server/sonar-web/src/main/js/apps/issues/components/IssuesApp.tsx +++ b/server/sonar-web/src/main/js/apps/issues/components/IssuesApp.tsx @@ -52,6 +52,7 @@ import withIndexationContext, { WithIndexationContextProps, } from '../../../components/hoc/withIndexationContext'; import withIndexationGuard from '../../../components/hoc/withIndexationGuard'; +import { IssueSuggestionCodeTab } from '../../../components/rules/IssueSuggestionCodeTab'; import IssueTabViewer from '../../../components/rules/IssueTabViewer'; import '../../../components/search-navigator.css'; import { DEFAULT_ISSUES_QUERY } from '../../../components/shared/utils'; @@ -1246,6 +1247,13 @@ export class App extends React.PureComponent<Props, State> { selectedLocationIndex={this.state.selectedLocationIndex} /> } + suggestionTabContent={ + <IssueSuggestionCodeTab + branchLike={fillBranchLike(openIssue.branch, openIssue.pullRequest)} + issue={openIssue} + language={openRuleDetails.lang} + /> + } extendedDescription={openRuleDetails.htmlNote} issue={openIssue} onIssueChange={this.handleIssueChange} |