added german, code refactoring

This commit is contained in:
2023-12-30 11:06:00 +01:00
parent 1b46f0dd03
commit de1d9e6a3c
3 changed files with 9 additions and 3 deletions

View File

@@ -27,9 +27,14 @@ const DownloadsListView: React.FC = () => {
return (
<Grid container spacing={{ xs: 2, md: 2 }} columns={{ xs: 4, sm: 8, md: 12 }} pt={2}>
<Grid item xs={12}>
<TableContainer component={Paper} sx={{ minHeight: '100%' }} elevation={2}>
<TableContainer
component={Paper}
sx={{ minHeight: '100%' }}
elevation={2}
hidden={downloads.length === 0}
>
<Table>
<TableHead hidden={downloads.length === 0}>
<TableHead>
<TableRow>
<TableCell>
<Typography fontWeight={500} fontSize={15}>Title</Typography>