diff options
author | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2018-12-20 09:52:47 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-12-24 20:20:54 +0100 |
commit | 722c2cdd1b8d37002e96bc6d48a11538e5961789 (patch) | |
tree | ed4596374302bf28a7a4cf8c59d4f0e2df1c2a27 /server | |
parent | 0e4a34396865850189a5bc103b6fb7c25386417d (diff) | |
download | sonarqube-722c2cdd1b8d37002e96bc6d48a11538e5961789.tar.gz sonarqube-722c2cdd1b8d37002e96bc6d48a11538e5961789.zip |
Update method to comply with new coding standard
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/js/app/components/extensions/OrganizationPageExtension.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/app/components/extensions/OrganizationPageExtension.tsx b/server/sonar-web/src/main/js/app/components/extensions/OrganizationPageExtension.tsx index a372d0f1f48..ac53b37e041 100644 --- a/server/sonar-web/src/main/js/app/components/extensions/OrganizationPageExtension.tsx +++ b/server/sonar-web/src/main/js/app/components/extensions/OrganizationPageExtension.tsx @@ -44,8 +44,9 @@ interface OwnProps { type Props = OwnProps & StateToProps & DispatchProps; class OrganizationPageExtension extends React.PureComponent<Props> { - refreshOrganization = () => - this.props.organization && this.props.fetchOrganization(this.props.organization.key); + refreshOrganization = () => { + return this.props.organization && this.props.fetchOrganization(this.props.organization.key); + }; render() { const { extensionKey, pluginKey } = this.props.params; |