Client - update lang attribute on language change - fix #201
This commit is contained in:
parent
ead271a8d9
commit
0cc33faf97
@ -114,6 +114,7 @@
|
||||
}
|
||||
function updateLanguage(option: IDropdownOption) {
|
||||
locale.value = option.value.toString()
|
||||
document.querySelector('html')?.setAttribute('lang', locale.value)
|
||||
store.commit(ROOT_STORE.MUTATIONS.UPDATE_LANG, option.value)
|
||||
}
|
||||
function logout() {
|
||||
|
Loading…
Reference in New Issue
Block a user