aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
Diffstat (limited to 'modern')
-rw-r--r--modern/src/settings/NotificationPage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/settings/NotificationPage.js b/modern/src/settings/NotificationPage.js
index 6feaeb2f..6784671e 100644
--- a/modern/src/settings/NotificationPage.js
+++ b/modern/src/settings/NotificationPage.js
@@ -74,7 +74,7 @@ const NotificationPage = () => {
titleGetter={(it) => t(prefixString('notificator', it.type))}
label={t('notificationNotificators')}
/>
- {(!item.type || item.type === 'alarm') && (
+ {item.type === 'alarm' && (
<SelectField
multiple
value={item.attributes && item.attributes.alarms ? item.attributes.alarms.split(/[, ]+/) : []}