diff options
Diffstat (limited to 'modern/src/settings/MaintenancesPage.js')
-rw-r--r-- | modern/src/settings/MaintenancesPage.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modern/src/settings/MaintenancesPage.js b/modern/src/settings/MaintenancesPage.js index d4a06fd2..6f752b32 100644 --- a/modern/src/settings/MaintenancesPage.js +++ b/modern/src/settings/MaintenancesPage.js @@ -15,8 +15,8 @@ import CollectionActions from './components/CollectionActions'; const useStyles = makeStyles((theme) => ({ columnAction: { - width: theme.spacing(1), - padding: theme.spacing(0, 1), + width: '1%', + paddingRight: theme.spacing(1), }, })); @@ -62,23 +62,23 @@ const MaintenacesPage = () => { <Table> <TableHead> <TableRow> - <TableCell className={classes.columnAction} /> <TableCell>{t('sharedName')}</TableCell> <TableCell>{t('sharedType')}</TableCell> <TableCell>{t('maintenanceStart')}</TableCell> <TableCell>{t('maintenancePeriod')}</TableCell> + <TableCell className={classes.columnAction} /> </TableRow> </TableHead> <TableBody> {items.map((item) => ( <TableRow key={item.id}> - <TableCell className={classes.columnAction} padding="none"> - <CollectionActions itemId={item.id} editPath="/settings/maintenance" endpoint="maintenance" setTimestamp={setTimestamp} /> - </TableCell> <TableCell>{item.name}</TableCell> <TableCell>{item.type}</TableCell> <TableCell>{convertAttribute(item.type, item.start)}</TableCell> <TableCell>{convertAttribute(item.type, item.period)}</TableCell> + <TableCell className={classes.columnAction} padding="none"> + <CollectionActions itemId={item.id} editPath="/settings/maintenance" endpoint="maintenance" setTimestamp={setTimestamp} /> + </TableCell> </TableRow> ))} </TableBody> |