diff options
Diffstat (limited to 'modern/src/settings/PreferencesPage.jsx')
-rw-r--r-- | modern/src/settings/PreferencesPage.jsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modern/src/settings/PreferencesPage.jsx b/modern/src/settings/PreferencesPage.jsx index 676bd58b..2d6df62f 100644 --- a/modern/src/settings/PreferencesPage.jsx +++ b/modern/src/settings/PreferencesPage.jsx @@ -239,7 +239,6 @@ const PreferencesPage = () => { </AccordionSummary> <AccordionDetails className={classes.details}> <SelectField - emptyValue={null} value={attributes.devicePrimary || 'name'} onChange={(e) => setAttributes({ ...attributes, devicePrimary: e.target.value })} data={deviceFields} @@ -247,8 +246,7 @@ const PreferencesPage = () => { label={t('devicePrimaryInfo')} /> <SelectField - emptyValue="" - value={attributes.deviceSecondary || ''} + value={attributes.deviceSecondary} onChange={(e) => setAttributes({ ...attributes, deviceSecondary: e.target.value })} data={deviceFields} titleGetter={(it) => t(it.name)} |