aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-09 15:23:25 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-09 15:23:25 -0700
commitaec97eefa4cc5442e362b882c6a04b0a55fd2a27 (patch)
tree6ec633ba11bb063cf8211716b9a7c0e001086d8b /modern
parent6c4cf067d9fd5dc8b8232b2b87af7800e806a70a (diff)
downloadtrackermap-web-aec97eefa4cc5442e362b882c6a04b0a55fd2a27.tar.gz
trackermap-web-aec97eefa4cc5442e362b882c6a04b0a55fd2a27.tar.bz2
trackermap-web-aec97eefa4cc5442e362b882c6a04b0a55fd2a27.zip
Hide alarm field by default
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(/[, ]+/) : []}