Skip to content

Commit e3bfc37

Browse files
authored
Fix UI control for enabling references as station label (#669)
Selecting the correct radio button from user configuration for the station labels in the settings UI was using the incorrect variable.
1 parent e1b4ab8 commit e3bfc37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxy/js/ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ function showConfiguration() {
264264

265265
const stationLowZoomLabel = configuration.stationLowZoomLabel ?? defaultConfiguration.stationLowZoomLabel
266266
if (stationLowZoomLabel === 'label') {
267-
stationLowZoomLabel.checked = true
267+
stationLabelReferenceControl.checked = true
268268
} else if (stationLowZoomLabel === 'name') {
269269
stationLabelNameControl.checked = true
270270
}

0 commit comments

Comments
 (0)