From 9af7d1081aac41052dad9954d2ba23d3d3e2dd09 Mon Sep 17 00:00:00 2001 From: Denis Shatskiy Date: Mon, 14 Jul 2025 08:38:48 +0700 Subject: [PATCH] =?UTF-8?q?=D1=83=D0=BD=D0=B8=D1=84=D0=B8=D0=BA=D0=B0?= =?UTF-8?q?=D1=86=D1=8F=D0=B8=20=D1=81=D1=82=D0=B8=D0=BB=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/FilterManager.jsx | 117 ++++++++++++++------------------- 1 file changed, 48 insertions(+), 69 deletions(-) diff --git a/frontend/src/FilterManager.jsx b/frontend/src/FilterManager.jsx index 460b322..7fe31e3 100644 --- a/frontend/src/FilterManager.jsx +++ b/frontend/src/FilterManager.jsx @@ -356,80 +356,59 @@ function FilterManager() { )} {/* Фильтры и поиск */} -
-
-
-
-
- - - - setSearchTerm(e.target.value)} - /> -
-
-
- -
-
- +
+
+

Список фильтров

+
+ {/* Фильтры и поиск */} + +
+ + + + setSearchTerm(e.target.value)} + />
-
- - {/* Таблица фильтров */} -
-
-

Фильтры frouting ({filteredFilters.length})

-
- +
- - - - + + {filteredFilters.map((filter, index) => ( - - + - -
handleSort('community')}> - Community + handleSort('community')}> + COMMUNITY {sortField === 'community' && ( - + + {sortOrder === 'asc' ? '▲' : '▼'} + )} handleSort('gateway')}> - Gateway + handleSort('gateway')}> + GATEWAY {sortField === 'gateway' && ( - + + {sortOrder === 'asc' ? '▲' : '▼'} + )} ОписаниеDESCRIPTION
+
{editingFilter === filter.community ? ( {filter.community} )} + {editingFilter === filter.community ? ( {filter.description} )} -
+
+
{editingFilter === filter.community ? ( <> ) : ( <> )}