mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-01 08:12:32 +00:00
avoid initializing without translation
This commit is contained in:
@@ -17,8 +17,8 @@ export const brouterProfiles: { [key: string]: string } = {
|
||||
railway: 'rail'
|
||||
};
|
||||
export const routingProfileSelectItem = writable({
|
||||
value: 'bike',
|
||||
label: get(_)('toolbar.routing.activities.bike')
|
||||
value: '',
|
||||
label: ''
|
||||
});
|
||||
routingProfile.subscribe((value) => {
|
||||
if (value !== get(routingProfileSelectItem).value) {
|
||||
|
Reference in New Issue
Block a user