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 ? ( <> ) : ( <> )}