Skip to content
Snippets Groups Projects
Commit c0f25702 authored by Benoit Alessandroni's avatar Benoit Alessandroni
Browse files

Merge branch 'bugfix/fix-search' into 'master'

Fixing the language switch

See merge request !216
parents e957f51a eca2f470
No related branches found
No related tags found
1 merge request!216Fixing the language switch
Pipeline #7156 failed with stage
in 1 hour
......@@ -408,8 +408,10 @@ async function manageSelectLanguage() {
languagesList.forEach(async (resource) => {
if (item.component.value.languages['@id'] == resource['@id']) {
var redirect = baseUrl + '/' + (await resource.code).toLowerCase() + '/'+pathAfterThePrefix
store.selectLanguage((await resource.code).toLowerCase());
document.location.href = redirect
}
}
});
})
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment