From 7db8b3f293b8fcbab86a13b2af4e9fee5fd937e1 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 23 May 2022 09:00:08 -0700 Subject: Fix select field labels --- modern/src/settings/ComputedAttributePage.js | 2 ++ modern/src/settings/MaintenancePage.js | 1 + modern/src/settings/PreferencesPage.js | 7 ++++++- modern/src/settings/ServerPage.js | 4 ++++ modern/src/settings/UserPage.js | 4 ++++ modern/src/settings/components/AddAttributeDialog.js | 1 + 6 files changed, 18 insertions(+), 1 deletion(-) (limited to 'modern/src/settings') 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 = () => { {t('sharedAttribute')} setItem({ ...item, type: event.target.value })} > diff --git a/modern/src/settings/MaintenancePage.js b/modern/src/settings/MaintenancePage.js index 67448fb7..5694d77b 100644 --- a/modern/src/settings/MaintenancePage.js +++ b/modern/src/settings/MaintenancePage.js @@ -133,6 +133,7 @@ const MaintenancePage = () => { {t('sharedType')} setLanguage(e.target.value)}> + @@ -71,6 +75,7 @@ const PreferencesPage = () => { {t('sharedAttributes')} setItem({ ...item, coordinateFormat: event.target.value })} > @@ -125,6 +126,7 @@ const ServerPage = () => { {t('settingsSpeedUnit')} setItem({ ...item, attributes: { ...item.attributes, distanceUnit: e.target.value } })} > @@ -147,6 +150,7 @@ const ServerPage = () => { {t('settingsVolumeUnit')} setItem({ ...item, coordinateFormat: event.target.value })} > @@ -150,6 +151,7 @@ const UserPage = () => { {t('settingsSpeedUnit')} setItem({ ...item, attributes: { ...item.attributes, distanceUnit: e.target.value } })} > @@ -172,6 +175,7 @@ const UserPage = () => { {t('settingsVolumeUnit')} setType(e.target.value)} > -- cgit v1.2.3