ViewModeSelection double selection fix
parent
4195456227
commit
1ad78b3ef1
|
@ -43,7 +43,11 @@ const ViewModeSelection = ({ callback }) => {
|
|||
exclusive
|
||||
onChange={handleViewModeSelection}
|
||||
>
|
||||
<ToggleButton value={ViewModes.TABLE} aria-label="table view mode">
|
||||
<ToggleButton
|
||||
value={ViewModes.TABLE}
|
||||
aria-label="table view mode"
|
||||
disabled={state.mode === ViewModes.TABLE}
|
||||
>
|
||||
<Tooltip title={t("ViewModes.Table")}>
|
||||
<TableChartIcon />
|
||||
</Tooltip>
|
||||
|
@ -51,6 +55,7 @@ const ViewModeSelection = ({ callback }) => {
|
|||
<ToggleButton
|
||||
value={ViewModes.ACCORDION}
|
||||
aria-label="accordion view mode"
|
||||
disabled={state.mode === ViewModes.ACCORDION}
|
||||
>
|
||||
<Tooltip title={t("ViewModes.List")}>
|
||||
<ViewListIcon />
|
||||
|
|
Loading…
Reference in New Issue