diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-09 15:23:25 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-09 15:23:25 -0700 |
commit | aec97eefa4cc5442e362b882c6a04b0a55fd2a27 (patch) | |
tree | 6ec633ba11bb063cf8211716b9a7c0e001086d8b /modern/src/settings/NotificationPage.js | |
parent | 6c4cf067d9fd5dc8b8232b2b87af7800e806a70a (diff) | |
download | trackermap-web-aec97eefa4cc5442e362b882c6a04b0a55fd2a27.tar.gz trackermap-web-aec97eefa4cc5442e362b882c6a04b0a55fd2a27.tar.bz2 trackermap-web-aec97eefa4cc5442e362b882c6a04b0a55fd2a27.zip |
Hide alarm field by default
Diffstat (limited to 'modern/src/settings/NotificationPage.js')
-rw-r--r-- | modern/src/settings/NotificationPage.js | 2 |
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(/[, ]+/) : []} |