aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/ComputedAttributePage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-23 09:00:08 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-23 09:00:08 -0700
commit7db8b3f293b8fcbab86a13b2af4e9fee5fd937e1 (patch)
tree893861c605696516c1c4c3d06179ace6376f2765 /modern/src/settings/ComputedAttributePage.js
parentb98137ab304e8068484926eb31b77bd727a6407d (diff)
downloadtrackermap-web-7db8b3f293b8fcbab86a13b2af4e9fee5fd937e1.tar.gz
trackermap-web-7db8b3f293b8fcbab86a13b2af4e9fee5fd937e1.tar.bz2
trackermap-web-7db8b3f293b8fcbab86a13b2af4e9fee5fd937e1.zip
Fix select field labels
Diffstat (limited to 'modern/src/settings/ComputedAttributePage.js')
-rw-r--r--modern/src/settings/ComputedAttributePage.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/settings/ComputedAttributePage.js b/modern/src/settings/ComputedAttributePage.js
index 28b0f41e..ba5fe712 100644
--- a/modern/src/settings/ComputedAttributePage.js
+++ b/modern/src/settings/ComputedAttributePage.js
@@ -77,6 +77,7 @@ const ComputedAttributePage = () => {
<FormControl margin="normal" fullWidth>
<InputLabel>{t('sharedAttribute')}</InputLabel>
<Select
+ label={t('sharedAttribute')}
value={item.attribute || ''}
onChange={handleChange}
>
@@ -100,6 +101,7 @@ const ComputedAttributePage = () => {
>
<InputLabel>{t('sharedType')}</InputLabel>
<Select
+ label={t('sharedType')}
value={item.type || ''}
onChange={(event) => setItem({ ...item, type: event.target.value })}
>