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