Skip to content

Commit

Permalink
more tweaks & shit
Browse files Browse the repository at this point in the history
  • Loading branch information
tfhuhtal committed Oct 10, 2024
1 parent 40fe471 commit d131925
Showing 1 changed file with 27 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
Card,
Icon,
Radio,
Grid,
} from 'semantic-ui-react'
import { PieChart } from 'react-minimal-pie-chart'
import { Link } from 'react-router-dom'
Expand Down Expand Up @@ -256,30 +257,32 @@ const MonitoringOverview = ({ t, lang, faculties }) => {
{selectedLevel !== 'doctoral' && (
<MenuItem>
<div>
<Radio
label={t('bachelor')}
value="bachelor"
checked={radioFilter === 'bachelor'}
onChange={() => setRadioFilter('bachelor')}
/>
<Radio
label={t('master')}
value="master"
checked={radioFilter === 'master'}
onChange={() => setRadioFilter('master')}
/>
<Radio
label={t('both')}
value="both"
checked={radioFilter === 'both'}
onChange={() => setRadioFilter('both')}
/>
<Radio
label={t('all')}
value="all"
checked={radioFilter === 'all'}
onChange={() => setRadioFilter('all')}
/>
<Grid>
<Radio
label={t('bachelor')}
value="bachelor"
checked={radioFilter === 'bachelor'}
onChange={() => setRadioFilter('bachelor')}
/>
<Radio
label={t('master')}
value="master"
checked={radioFilter === 'master'}
onChange={() => setRadioFilter('master')}
/>
<Radio
label={t('bachelorMasterToggle')}
value="both"
checked={radioFilter === 'both'}
onChange={() => setRadioFilter('both')}
/>
<Radio
label={t('all')}
value="all"
checked={radioFilter === 'all'}
onChange={() => setRadioFilter('all')}
/>
</Grid>
</div>
</MenuItem>
)}
Expand Down

0 comments on commit d131925

Please sign in to comment.