aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2019-03-27 10:28:51 +0100
committersonartech <sonartech@sonarsource.com>2019-03-29 09:44:58 +0100
commit616f0b1daf61d1040052906a649a201e26a4f376 (patch)
tree673e0171f384ee239e159d97b7bd04d987a04cb7 /server
parent35625522ce5ef18b877f2828e18fff9ab5218a5c (diff)
downloadsonarqube-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.tsx27
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" />