diff --git a/app/components/Navbar/NavBarMobile.tsx b/app/components/Navbar/NavBarMobile.tsx
index e0be96b..3937c86 100644
--- a/app/components/Navbar/NavBarMobile.tsx
+++ b/app/components/Navbar/NavBarMobile.tsx
@@ -54,7 +54,7 @@ const FifthButton = {
title: "Обзор",
icon: "mdi--compass",
href: "/discovery",
- auth: true,
+ auth: false,
},
};
@@ -81,19 +81,27 @@ export const NavBarMobile = (props: { setIsSettingModalOpen: any }) => {
);
})}
- {userStore.isAuth && preferenceStore.flags.showFifthButton ?
-
-
-
- {FifthButton[preferenceStore.flags.showFifthButton].title}
-
-
+ {preferenceStore.flags.showFifthButton ?
+ <>
+ {(
+ !userStore.isAuth &&
+ FifthButton[preferenceStore.flags.showFifthButton].auth
+ ) ?
+ <>>
+ :
+
+
+ {FifthButton[preferenceStore.flags.showFifthButton].title}
+
+
+ }
+ >
: ""}
+
{props.title_original}
)} diff --git a/app/store/preferences.ts b/app/store/preferences.ts index 36c9cdf..056038b 100644 --- a/app/store/preferences.ts +++ b/app/store/preferences.ts @@ -40,7 +40,7 @@ export const usePreferencesStore = create