diff options
author | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2019-03-27 10:28:51 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-03-29 09:44:58 +0100 |
commit | 616f0b1daf61d1040052906a649a201e26a4f376 (patch) | |
tree | 673e0171f384ee239e159d97b7bd04d987a04cb7 /server | |
parent | 35625522ce5ef18b877f2828e18fff9ab5218a5c (diff) | |
download | sonarqube-616f0b1daf61d1040052906a649a201e26a4f376.tar.gz sonarqube-616f0b1daf61d1040052906a649a201e26a4f376.zip |
Update code formatting
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/js/app/components/ComponentContainer.tsx | 27 |
1 files changed, 14 insertions, 13 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 a6792be5a81..a0c57751631 100644 --- a/server/sonar-web/src/main/js/app/components/ComponentContainer.tsx +++ b/server/sonar-web/src/main/js/app/components/ComponentContainer.tsx @@ -319,19 +319,20 @@ export class ComponentContainer extends React.PureComponent<Props, State> { return ( <div> - {component && !['FIL', 'UTS'].includes(component.qualifier) && ( - <ComponentNav - branchLikes={branchLikes} - component={component} - currentBranchLike={branchLike} - currentTask={currentTask} - currentTaskOnSameBranch={currentTask && this.isSameBranch(currentTask, branchLike)} - isInProgress={isInProgress} - isPending={isPending} - location={this.props.location} - warnings={this.state.warnings} - /> - )} + {component && + !['FIL', 'UTS'].includes(component.qualifier) && ( + <ComponentNav + branchLikes={branchLikes} + component={component} + currentBranchLike={branchLike} + currentTask={currentTask} + currentTaskOnSameBranch={currentTask && this.isSameBranch(currentTask, branchLike)} + isInProgress={isInProgress} + isPending={isPending} + location={this.props.location} + warnings={this.state.warnings} + /> + )} {loading ? ( <div className="page page-limited"> <i className="spinner" /> |