We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a7bc500 + aee238c commit 8dd3606Copy full SHA for 8dd3606
src/components/organisms/LanguageMenu.tsx
@@ -35,10 +35,10 @@ const LanguageMenu: FC = () => {
35
if (newsFlashStore.activeNewsFlashId) {
36
path = `newsflash/${newsFlashStore.activeNewsFlashId}`;
37
}
38
- if (store.locationId) {
+ else if (store.locationId) {
39
path = `location/${store.locationId}`;
40
41
- if (store.cityAndStreet) {
+ else if (store.cityAndStreet) {
42
path = `cityAndStreet/${store.cityAndStreet.city}/${store.cityAndStreet.street}`;
43
44
return window.location.assign(`${prefix}/${path}`);
0 commit comments