aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components
diff options
context:
space:
mode:
author7PH <benjamin.raymond@sonarsource.com>2023-02-06 17:50:16 +0100
committersonartech <sonartech@sonarsource.com>2023-02-08 20:03:37 +0000
commitf44774c5cb7bfe756024bca14fead1fb8c4b4c50 (patch)
tree8ef3666c1a337bb2eed71974c16ed4ba9b55cd62 /server/sonar-web/src/main/js/components
parent04b407fcbb9835a1228eb130c3edce5e61341510 (diff)
downloadsonarqube-f44774c5cb7bfe756024bca14fead1fb8c4b4c50.tar.gz
sonarqube-f44774c5cb7bfe756024bca14fead1fb8c4b4c50.zip
SONAR-18344 Remove quality profile action dropdown from accessibility tree when hidden
Diffstat (limited to 'server/sonar-web/src/main/js/components')
-rw-r--r--server/sonar-web/src/main/js/components/controls/ActionsDropdown.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/components/controls/ActionsDropdown.tsx b/server/sonar-web/src/main/js/components/controls/ActionsDropdown.tsx
index 639e95e79bf..b01909c75ac 100644
--- a/server/sonar-web/src/main/js/components/controls/ActionsDropdown.tsx
+++ b/server/sonar-web/src/main/js/components/controls/ActionsDropdown.tsx
@@ -36,6 +36,7 @@ export interface ActionsDropdownProps {
overlayPlacement?: PopupPlacement;
small?: boolean;
toggleClassName?: string;
+ disabled?: boolean;
}
export default function ActionsDropdown(props: ActionsDropdownProps) {
@@ -52,6 +53,7 @@ export default function ActionsDropdown(props: ActionsDropdownProps) {
className={classNames('dropdown-toggle', toggleClassName, {
'button-small': small,
})}
+ disabled={props.disabled}
>
<SettingsIcon size={small ? 12 : 14} />
<DropdownIcon className="little-spacer-left" />