aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-08 08:44:42 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-08 08:44:42 -0700
commit61d616f1f5851ebea1b61fcfe1c907902771573f (patch)
treefbae0a2b7373b03350ed022a0b453f09ddc63bc9 /modern
parent61ed5eb5fc88dbbf43bdce03b555e932313ab551 (diff)
downloadtrackermap-web-61d616f1f5851ebea1b61fcfe1c907902771573f.tar.gz
trackermap-web-61d616f1f5851ebea1b61fcfe1c907902771573f.tar.bz2
trackermap-web-61d616f1f5851ebea1b61fcfe1c907902771573f.zip
Fix notification page
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 0352683a..1e214ddd 100644
--- a/modern/src/settings/NotificationPage.js
+++ b/modern/src/settings/NotificationPage.js
@@ -41,7 +41,7 @@ const NotificationPage = () => {
<AccordionDetails className={classes.details}>
<SelectField
margin="normal"
- value={item.type || 'alarm'}
+ value={item.type}
emptyValue={null}
onChange={(e) => setItem({ ...item, type: e.target.value })}
endpoint="/api/notifications/types"