Fixed: Filter Unknown from Profile Language Select

pull/6327/head
Qstick 4 years ago
parent c2a21cd238
commit 5fe8f65d64

@ -96,12 +96,13 @@ function createLanguagesSelector() {
(state) => state.settings.languages,
(languages) => {
const items = languages.items;
const filterItems = ['Unknown'];
if (!items) {
return [];
}
const newItems = items.map((item) => {
const newItems = items.filter((lang) => !filterItems.includes(lang.name)).map((item) => {
return {
key: item.id,
value: item.name

Loading…
Cancel
Save