diff options
Diffstat (limited to 'server/sonar-web/src/main/js/app/components/nav/global/GlobalNavPlus.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/app/components/nav/global/GlobalNavPlus.tsx | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavPlus.tsx b/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavPlus.tsx index b8a7c30bffb..01401510728 100644 --- a/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavPlus.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavPlus.tsx @@ -188,14 +188,13 @@ export class GlobalNavPlus extends React.PureComponent<Props & WithRouterProps, <PlusIcon /> </a> </Dropdown> - {this.state.governanceReady && - this.state.createPortfolio && ( - <CreateFormShim - defaultQualifier={defaultQualifier} - onClose={this.closeCreatePortfolioForm} - onCreate={this.handleCreatePortfolio} - /> - )} + {this.state.governanceReady && this.state.createPortfolio && ( + <CreateFormShim + defaultQualifier={defaultQualifier} + onClose={this.closeCreatePortfolioForm} + onCreate={this.handleCreatePortfolio} + /> + )} </> ); } |