Skip to content

Commit

Permalink
avoid initializing without translation
Browse files Browse the repository at this point in the history
  • Loading branch information
vcoppe committed Jun 19, 2024
1 parent 8fdad92 commit 866e50d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/src/lib/components/toolbar/tools/routing/Routing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 866e50d

Please sign in to comment.