Просмотр исходного кода

Update code formatting

tags/7.8
Wouter Admiraal 5 лет назад
Родитель
Сommit
616f0b1daf
1 измененных файлов: 14 добавлений и 13 удалений
  1. 14
    13
      server/sonar-web/src/main/js/app/components/ComponentContainer.tsx

+ 14
- 13
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" />

Загрузка…
Отмена
Сохранить