aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/controls/ButtonToggle.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/controls/ButtonToggle.tsx')
-rw-r--r--server/sonar-web/src/main/js/components/controls/ButtonToggle.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/components/controls/ButtonToggle.tsx b/server/sonar-web/src/main/js/components/controls/ButtonToggle.tsx
index 841337734dd..6c5ad5477e3 100644
--- a/server/sonar-web/src/main/js/components/controls/ButtonToggle.tsx
+++ b/server/sonar-web/src/main/js/components/controls/ButtonToggle.tsx
@@ -43,14 +43,15 @@ export default function ButtonToggle(props: ButtonToggleProps) {
return (
<ul aria-label={label} role="group" className="button-toggle">
- {options.map(option => (
+ {options.map((option) => (
<li key={option.value.toString()}>
<Button
onClick={() => option.value !== value && props.onCheck(option.value)}
disabled={disabled}
aria-current={option.value === value}
data-value={option.value}
- className={classNames({ selected: option.value === value })}>
+ className={classNames({ selected: option.value === value })}
+ >
{option.label}
</Button>
</li>