diff --git a/frontend/src/FilterManager.jsx b/frontend/src/FilterManager.jsx index c392eb3..75a33cc 100644 --- a/frontend/src/FilterManager.jsx +++ b/frontend/src/FilterManager.jsx @@ -1764,19 +1764,53 @@ function FilterManager() { />
{filter?.community || ''}
+ {filter?.community || ''}
+ {(() => {
+ // Ищем community в справочнике
+ const communityData = communities.find(c => {
+ if (c.value === filter?.community) return true;
+ const normalized = c.value.includes(':') ? c.value : `${baseAS}:${c.value}`;
+ return normalized === filter?.community;
+ });
+ if (communityData && (communityData.name || communityData.description)) {
+ return (
+ {filter?.gateway || ''}
+ {filter?.gateway || ''}
+ {(() => {
+ // Ищем gateway в списке шлюзов сервера
+ const gatewayData = selectedServerGateways.find(gw => gw.name === filter?.gateway);
+ if (gatewayData && (gatewayData.ip || gatewayData.comment)) {
+ return (
+