From: Guillaume Peoc'h Date: Thu, 11 Aug 2022 08:02:51 +0000 (+0200) Subject: SONAR-16782 [893472] State: Selected state of the element is missing or incorrect X-Git-Tag: 9.6.0.59041~21 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ee4d9a0f97119ac1b550fdeb8e6ffb30d1e8a0d9;p=sonarqube.git SONAR-16782 [893472] State: Selected state of the element is missing or incorrect --- diff --git a/server/sonar-web/src/main/js/components/controls/BoxedTabs.tsx b/server/sonar-web/src/main/js/components/controls/BoxedTabs.tsx index c2c7060fa50..53682deec15 100644 --- a/server/sonar-web/src/main/js/components/controls/BoxedTabs.tsx +++ b/server/sonar-web/src/main/js/components/controls/BoxedTabs.tsx @@ -84,6 +84,7 @@ export default function BoxedTabs(props: BoxedTabsProps) { {tabs.map(({ key, label }, i) => ( selected !== key && props.onSelect(key)} diff --git a/server/sonar-web/src/main/js/components/controls/__tests__/__snapshots__/BoxedTabs-test.tsx.snap b/server/sonar-web/src/main/js/components/controls/__tests__/__snapshots__/BoxedTabs-test.tsx.snap index 1f423bd4af0..e5c5524e456 100644 --- a/server/sonar-web/src/main/js/components/controls/__tests__/__snapshots__/BoxedTabs-test.tsx.snap +++ b/server/sonar-web/src/main/js/components/controls/__tests__/__snapshots__/BoxedTabs-test.tsx.snap @@ -299,6 +299,7 @@ exports[`should render correctly 1`] = ` >