diff --git a/app/pages/Search.tsx b/app/pages/Search.tsx
index a88c9d7..8f880b9 100644
--- a/app/pages/Search.tsx
+++ b/app/pages/Search.tsx
@@ -190,112 +190,73 @@ export function SearchPage() {
Поиск
+
+
+ item.id == params.where).label}`}
+ color="light"
+ >
+ {whereMapping.map((item) => {
+ return item.auth && !userStore.isAuth ?
+ <>>
+ :
+ searchByMapping[item.id] ?
+ setParams({
+ where: item.id,
+ searchBy: searchByMapping[item.id][0].id,
+ })
+ : setParams({ where: item.id, searchBy: "none" })
+ }
+ key={`filter--where--${item.id}`}
+ >
+ {item.label}
+ ;
+ })}
+
+
+ {searchByMapping[params.where] ?
+
+ item.id == params.searchBy
+ ).label}`
+ }
+ color="light"
+ >
+ {searchByMapping[params.where].map((item) => {
+ return (
+
+ setParams({
+ where: params.where,
+ searchBy: item.id,
+ })
+ }
+ key={`filter--where--${params.where}--searchBy--${item.id}`}
+ >
+ {item.label}
+
+ );
+ })}
+
+
+ : <>>}
+
-