aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2018-12-20 09:52:47 +0100
committerSonarTech <sonartech@sonarsource.com>2018-12-24 20:20:54 +0100
commit722c2cdd1b8d37002e96bc6d48a11538e5961789 (patch)
treeed4596374302bf28a7a4cf8c59d4f0e2df1c2a27 /server
parent0e4a34396865850189a5bc103b6fb7c25386417d (diff)
downloadsonarqube-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.tsx5
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;