From: Mathieu Suen Date: Fri, 29 Sep 2023 13:03:52 +0000 (+0200) Subject: SONAR-20469 Attempt to fix FP X-Git-Tag: 10.3.0.82913~304 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=274a36b50c791076b6c06561bb47029f8d45d665;p=sonarqube.git SONAR-20469 Attempt to fix FP --- diff --git a/server/sonar-web/src/main/js/app/components/extensions/Extension.tsx b/server/sonar-web/src/main/js/app/components/extensions/Extension.tsx index 816fb52b78e..e19e4f2aaea 100644 --- a/server/sonar-web/src/main/js/app/components/extensions/Extension.tsx +++ b/server/sonar-web/src/main/js/app/components/extensions/Extension.tsx @@ -64,7 +64,7 @@ class Extension extends React.PureComponent { } componentDidUpdate(prevProps: ExtensionProps) { - if (prevProps.extension !== this.props.extension) { + if (prevProps.extension.key !== this.props.extension.key) { this.stopExtension(); this.startExtension(); } else if (prevProps.location !== this.props.location) {