diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-23 09:00:08 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-23 09:00:08 -0700 |
commit | 7db8b3f293b8fcbab86a13b2af4e9fee5fd937e1 (patch) | |
tree | 893861c605696516c1c4c3d06179ace6376f2765 /modern/src/settings/ServerPage.js | |
parent | b98137ab304e8068484926eb31b77bd727a6407d (diff) | |
download | trackermap-web-7db8b3f293b8fcbab86a13b2af4e9fee5fd937e1.tar.gz trackermap-web-7db8b3f293b8fcbab86a13b2af4e9fee5fd937e1.tar.bz2 trackermap-web-7db8b3f293b8fcbab86a13b2af4e9fee5fd937e1.zip |
Fix select field labels
Diffstat (limited to 'modern/src/settings/ServerPage.js')
-rw-r--r-- | modern/src/settings/ServerPage.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modern/src/settings/ServerPage.js b/modern/src/settings/ServerPage.js index 8432e657..80353deb 100644 --- a/modern/src/settings/ServerPage.js +++ b/modern/src/settings/ServerPage.js @@ -114,6 +114,7 @@ const ServerPage = () => { <FormControl margin="normal" fullWidth> <InputLabel>{t('settingsCoordinateFormat')}</InputLabel> <Select + label={t('settingsCoordinateFormat')} value={item.coordinateFormat || 'dd'} onChange={(event) => setItem({ ...item, coordinateFormat: event.target.value })} > @@ -125,6 +126,7 @@ const ServerPage = () => { <FormControl margin="normal" fullWidth> <InputLabel>{t('settingsSpeedUnit')}</InputLabel> <Select + label={t('settingsSpeedUnit')} value={item.attributes.speedUnit || 'kn'} onChange={(e) => setItem({ ...item, attributes: { ...item.attributes, speedUnit: e.target.value } })} > @@ -136,6 +138,7 @@ const ServerPage = () => { <FormControl margin="normal" fullWidth> <InputLabel>{t('settingsDistanceUnit')}</InputLabel> <Select + label={t('settingsDistanceUnit')} value={item.attributes.distanceUnit || 'km'} onChange={(e) => setItem({ ...item, attributes: { ...item.attributes, distanceUnit: e.target.value } })} > @@ -147,6 +150,7 @@ const ServerPage = () => { <FormControl margin="normal" fullWidth> <InputLabel>{t('settingsVolumeUnit')}</InputLabel> <Select + label={t('settingsVolumeUnit')} value={item.attributes.volumeUnit || 'ltr'} onChange={(e) => setItem({ ...item, attributes: { ...item.attributes, volumeUnit: e.target.value } })} > |