diff options
author | Anton Tananaev <anton@traccar.org> | 2022-10-28 13:52:49 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-10-28 13:52:49 -0700 |
commit | dd09b5c7ed235088d86ba9898261d74228b825ee (patch) | |
tree | a0992db59b7c4d5606ef5327a2692c57ead883e7 /modern/src/settings/PreferencesPage.js | |
parent | fac80024e0956d543b762296e0ee49cd72035b93 (diff) | |
download | trackermap-web-dd09b5c7ed235088d86ba9898261d74228b825ee.tar.gz trackermap-web-dd09b5c7ed235088d86ba9898261d74228b825ee.tar.bz2 trackermap-web-dd09b5c7ed235088d86ba9898261d74228b825ee.zip |
Support default map (fix #1002)
Diffstat (limited to 'modern/src/settings/PreferencesPage.js')
-rw-r--r-- | modern/src/settings/PreferencesPage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/settings/PreferencesPage.js b/modern/src/settings/PreferencesPage.js index 5229a03c..97548cbb 100644 --- a/modern/src/settings/PreferencesPage.js +++ b/modern/src/settings/PreferencesPage.js @@ -181,7 +181,7 @@ const PreferencesPage = () => { <InputLabel>{t('mapOverlay')}</InputLabel> <Select label={t('mapOverlay')} - value={attributes.selectedMapOverlay} + value={attributes.selectedMapOverlay || ''} onChange={(e) => { const clicked = mapOverlays.find((o) => o.id === e.target.value); if (!clicked || clicked.available) { |