avoid initializing without translation
This commit is contained in:
parent
8fdad928ac
commit
866e50d765
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue