From: Wouter Admiraal Date: Thu, 20 Dec 2018 08:52:47 +0000 (+0100) Subject: Update method to comply with new coding standard X-Git-Tag: 7.6~202 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=722c2cdd1b8d37002e96bc6d48a11538e5961789;p=sonarqube.git Update method to comply with new coding standard --- 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 { - 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;