mirror of
https://github.com/directus/directus.git
synced 2026-02-01 12:45:02 -05:00
@@ -417,7 +417,7 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
async function setLang(user: Record<string, any>) {
|
||||
if (userStore.state.currentUser!.id === item.value?.id) return;
|
||||
if (userStore.state.currentUser!.id !== item.value?.id) return;
|
||||
|
||||
const newLang = user?.language;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user