aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/NotificationsPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/settings/NotificationsPage.js')
-rw-r--r--modern/src/settings/NotificationsPage.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/modern/src/settings/NotificationsPage.js b/modern/src/settings/NotificationsPage.js
index ae463dd3..5f8c5512 100644
--- a/modern/src/settings/NotificationsPage.js
+++ b/modern/src/settings/NotificationsPage.js
@@ -14,8 +14,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),
},
}));
@@ -52,23 +52,23 @@ const NotificationsPage = () => {
<Table>
<TableHead>
<TableRow>
- <TableCell className={classes.columnAction} />
<TableCell>{t('notificationType')}</TableCell>
<TableCell>{t('notificationAlways')}</TableCell>
<TableCell>{t('sharedAlarms')}</TableCell>
<TableCell>{t('notificationNotificators')}</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/notification" endpoint="notifications" setTimestamp={setTimestamp} />
- </TableCell>
<TableCell>{t(prefixString('event', item.type))}</TableCell>
<TableCell>{formatBoolean(item.always, t)}</TableCell>
<TableCell>{formatList('alarm', item.attributes.alarms)}</TableCell>
<TableCell>{formatList('notificator', item.notificators)}</TableCell>
+ <TableCell className={classes.columnAction} padding="none">
+ <CollectionActions itemId={item.id} editPath="/settings/notification" endpoint="notifications" setTimestamp={setTimestamp} />
+ </TableCell>
</TableRow>
))}
</TableBody>