diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-08 08:44:42 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-08 08:44:42 -0700 |
commit | 61d616f1f5851ebea1b61fcfe1c907902771573f (patch) | |
tree | fbae0a2b7373b03350ed022a0b453f09ddc63bc9 /modern/src/settings/NotificationPage.js | |
parent | 61ed5eb5fc88dbbf43bdce03b555e932313ab551 (diff) | |
download | trackermap-web-61d616f1f5851ebea1b61fcfe1c907902771573f.tar.gz trackermap-web-61d616f1f5851ebea1b61fcfe1c907902771573f.tar.bz2 trackermap-web-61d616f1f5851ebea1b61fcfe1c907902771573f.zip |
Fix notification page
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 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" |