aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/PreferencesPage.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/settings/PreferencesPage.jsx')
-rw-r--r--modern/src/settings/PreferencesPage.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/settings/PreferencesPage.jsx b/modern/src/settings/PreferencesPage.jsx
index bd96b140..53d205f5 100644
--- a/modern/src/settings/PreferencesPage.jsx
+++ b/modern/src/settings/PreferencesPage.jsx
@@ -272,8 +272,8 @@ const PreferencesPage = () => {
label={t('devicePrimaryInfo')}
/>
<SelectField
- emptyValue=""
- value={attributes.deviceSecondary || ''}
+ emptyValue={null}
+ value={attributes.deviceSecondary || null}
onChange={(e) => setAttributes({ ...attributes, deviceSecondary: e.target.value })}
data={deviceFields}
titleGetter={(it) => t(it.name)}