don't show confusing release type checkboxes

This commit is contained in:
proddy
2025-11-24 22:35:07 +01:00
parent 7018139289
commit 2375633bca

View File

@@ -511,48 +511,11 @@ const Version = () => {
<Grid size={{ xs: 4, md: 2 }}> <Grid size={{ xs: 4, md: 2 }}>
<Typography color="secondary">{LL.RELEASE_TYPE()}</Typography> <Typography color="secondary">{LL.RELEASE_TYPE()}</Typography>
</Grid> </Grid>
<Grid size={{ xs: 8, md: 10 }}> {isDev ? (
<FormControlLabel <Typography>{LL.DEVELOPMENT()}</Typography>
disabled={!isDev} ) : (
control={ <Typography>{LL.STABLE()}</Typography>
<Checkbox )}
sx={{
'&.Mui-checked': {
color: 'lightblue'
}
}}
/>
}
slotProps={{
typography: {
color: 'grey'
}
}}
checked={!isDev}
label={LL.STABLE()}
sx={{ '& .MuiSvgIcon-root': { fontSize: 16 } }}
/>
<FormControlLabel
disabled={isDev}
control={
<Checkbox
sx={{
'&.Mui-checked': {
color: 'lightblue'
}
}}
/>
}
slotProps={{
typography: {
color: 'grey'
}
}}
checked={isDev}
label={LL.DEVELOPMENT()}
sx={{ '& .MuiSvgIcon-root': { fontSize: 16 } }}
/>
</Grid>
</Grid> </Grid>
{internetLive ? ( {internetLive ? (