]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-20469 Attempt to fix FP
authorMathieu Suen <mathieu.suen@sonarsource.com>
Fri, 29 Sep 2023 13:03:52 +0000 (15:03 +0200)
committersonartech <sonartech@sonarsource.com>
Tue, 3 Oct 2023 20:02:47 +0000 (20:02 +0000)
server/sonar-web/src/main/js/app/components/extensions/Extension.tsx

index 816fb52b78e462000c5cb1c69ffb80ca4e9fb8e8..e19e4f2aaea4cf47a563e99fbc60a2d5dfcc472b 100644 (file)
@@ -64,7 +64,7 @@ class Extension extends React.PureComponent<ExtensionProps, State> {
   }
 
   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) {