diff --git a/website/src/lib/components/toolbar/tools/routing/Routing.ts b/website/src/lib/components/toolbar/tools/routing/Routing.ts index c6754a61..8eac7ef4 100644 --- a/website/src/lib/components/toolbar/tools/routing/Routing.ts +++ b/website/src/lib/components/toolbar/tools/routing/Routing.ts @@ -24,7 +24,7 @@ export const routingProfileSelectItem = writable({ }); derived([routingProfile, locale, isLoading], ([profile, l, i]) => [profile, l, i]).subscribe(([profile, l, i]) => { - if (!i && profile !== '' && profile !== get(routingProfileSelectItem).value && l !== null) { + if (!i && profile !== '' && (profile !== get(routingProfileSelectItem).value || get(_)(`toolbar.routing.activities.${profile}`) !== get(routingProfileSelectItem).label) && l !== null) { routingProfileSelectItem.update((item) => { item.value = profile; item.label = get(_)(`toolbar.routing.activities.${profile}`);