mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-16 10:28:29 -07:00
parent
1c89e1df32
commit
717a58a872
@ -125,5 +125,6 @@
|
|||||||
"found_in_known_domain_db": "Found in the known domains database.",
|
"found_in_known_domain_db": "Found in the known domains database.",
|
||||||
"category_label": "Category",
|
"category_label": "Category",
|
||||||
"rule_label": "Rule",
|
"rule_label": "Rule",
|
||||||
"filter_label": "Filter"
|
"filter_label": "Filter",
|
||||||
|
"unknown_filter": "Unknown filter {{filterId}}"
|
||||||
}
|
}
|
@ -131,7 +131,14 @@ class Logs extends Component {
|
|||||||
} else {
|
} else {
|
||||||
const filterItem = Object.keys(filters)
|
const filterItem = Object.keys(filters)
|
||||||
.filter(key => filters[key].id === filterId);
|
.filter(key => filters[key].id === filterId);
|
||||||
filterName = filters[filterItem].name;
|
|
||||||
|
if (typeof filterItem !== 'undefined' && typeof filters[filterItem] !== 'undefined') {
|
||||||
|
filterName = filters[filterItem].name;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!filterName) {
|
||||||
|
filterName = t('unknown_filter', { filterId });
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user