From 722c2cdd1b8d37002e96bc6d48a11538e5961789 Mon Sep 17 00:00:00 2001 From: Wouter Admiraal Date: Thu, 20 Dec 2018 09:52:47 +0100 Subject: [PATCH] Update method to comply with new coding standard --- .../app/components/extensions/OrganizationPageExtension.tsx | 5 +++-- 1 file 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 { - 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; -- 2.39.5