aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/ServerPage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-18 16:51:46 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-18 16:51:46 -0700
commit4993f83ad1a5ad78a0b076503ab8c0b8f1bbf073 (patch)
treec5e4ce57cca3aad35e1869f21faa99b930871d51 /modern/src/settings/ServerPage.js
parentb88aa76538f8cebfa64d7f0d6b1cba8608432068 (diff)
downloadtrackermap-web-4993f83ad1a5ad78a0b076503ab8c0b8f1bbf073.tar.gz
trackermap-web-4993f83ad1a5ad78a0b076503ab8c0b8f1bbf073.tar.bz2
trackermap-web-4993f83ad1a5ad78a0b076503ab8c0b8f1bbf073.zip
Option to disable email change
Diffstat (limited to 'modern/src/settings/ServerPage.js')
-rw-r--r--modern/src/settings/ServerPage.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modern/src/settings/ServerPage.js b/modern/src/settings/ServerPage.js
index 22dd66af..e51c002c 100644
--- a/modern/src/settings/ServerPage.js
+++ b/modern/src/settings/ServerPage.js
@@ -238,6 +238,10 @@ const ServerPage = () => {
control={<Checkbox checked={item.disableReports} onChange={(event) => setItem({ ...item, disableReports: event.target.checked })} />}
label={t('userDisableReports')}
/>
+ <FormControlLabel
+ control={<Checkbox checked={item.fixedEmail} onChange={(e) => setItem({ ...item, fixedEmail: e.target.checked })} />}
+ label={t('userFixedEmail')}
+ />
</FormGroup>
</AccordionDetails>
</Accordion>