add missing value

This commit is contained in:
vcoppe
2026-03-27 18:35:25 +01:00
parent b59cb9e200
commit 408b2422e6

View File

@@ -185,7 +185,7 @@ type DistanceUnits = 'metric' | 'imperial' | 'nautical';
type VelocityUnits = 'speed' | 'pace'; type VelocityUnits = 'speed' | 'pace';
type TemperatureUnits = 'celsius' | 'fahrenheit'; type TemperatureUnits = 'celsius' | 'fahrenheit';
type AdditionalDataset = 'speed' | 'hr' | 'cad' | 'atemp' | 'power'; type AdditionalDataset = 'speed' | 'hr' | 'cad' | 'atemp' | 'power';
type ElevationFill = 'slope' | 'surface' | undefined; type ElevationFill = 'slope' | 'surface' | 'highway' | undefined;
type RoutingProfile = type RoutingProfile =
| 'bike' | 'bike'
| 'racing_bike' | 'racing_bike'
@@ -223,7 +223,7 @@ export const settings = {
elevationFill: new Setting<ElevationFill>( elevationFill: new Setting<ElevationFill>(
'elevationFill', 'elevationFill',
undefined, undefined,
getValueValidator(['slope', 'surface', undefined], undefined) getValueValidator(['slope', 'surface', 'highway', undefined], undefined)
), ),
treeFileView: new Setting<boolean>('fileView', false), treeFileView: new Setting<boolean>('fileView', false),
minimizeRoutingMenu: new Setting('minimizeRoutingMenu', false), minimizeRoutingMenu: new Setting('minimizeRoutingMenu', false),