Loading frontend/src/components/task-view/analysis/batch/visualization/BatchVisualizationPanel.tsx +18 −7 Original line number Diff line number Diff line import React, { useMemo } from 'react'; import { Button, FormControlLabel, Grid, IconButton, InputLabel, MenuItem, Select, Switch, Typography } from '@mui/material'; import { Help } from '@mui/icons-material'; Loading Loading @@ -189,13 +191,22 @@ const BatchVisualizationPanel = () => { <span style={{ fontWeight: 'bold' }}>Layout mode:</span> </Grid> <Grid item> <Button variant="contained" onClick={() => toggleSelectionMode()} sx={{ height: '30px', width: '130px' }} > Switch {!selectionMode ? 'on' : 'off'} </Button> <FormControlLabel control={ <Switch checked={selectionMode} onChange={() => toggleSelectionMode()} color="primary" /> } label={`${selectionMode ? 'on' : 'off'}`} sx={{ height: '30px', width: '130px', alignItems: 'center', justifyContent: 'center' }} /> </Grid> <Grid item> <IconButton Loading Loading
frontend/src/components/task-view/analysis/batch/visualization/BatchVisualizationPanel.tsx +18 −7 Original line number Diff line number Diff line import React, { useMemo } from 'react'; import { Button, FormControlLabel, Grid, IconButton, InputLabel, MenuItem, Select, Switch, Typography } from '@mui/material'; import { Help } from '@mui/icons-material'; Loading Loading @@ -189,13 +191,22 @@ const BatchVisualizationPanel = () => { <span style={{ fontWeight: 'bold' }}>Layout mode:</span> </Grid> <Grid item> <Button variant="contained" onClick={() => toggleSelectionMode()} sx={{ height: '30px', width: '130px' }} > Switch {!selectionMode ? 'on' : 'off'} </Button> <FormControlLabel control={ <Switch checked={selectionMode} onChange={() => toggleSelectionMode()} color="primary" /> } label={`${selectionMode ? 'on' : 'off'}`} sx={{ height: '30px', width: '130px', alignItems: 'center', justifyContent: 'center' }} /> </Grid> <Grid item> <IconButton Loading