Skip to content
Snippets Groups Projects
Commit cb5f7314 authored by kaniini's avatar kaniini
Browse files

app: search API is not available in private mode so disable it

parent 1f967435
No related branches found
No related tags found
2 merge requests!1028`master` refresh with `develop`,!989interaction with BE private mode
Pipeline #19933 passed
......@@ -97,7 +97,8 @@ export default {
this.$store.state.instance.instanceSpecificPanelContent
},
showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel },
isMobileLayout () { return this.$store.state.interface.mobileLayout }
isMobileLayout () { return this.$store.state.interface.mobileLayout },
privateMode () { return this.$store.state.instance.private }
},
methods: {
scrollToTop () {
......
......@@ -43,6 +43,7 @@
class="nav-icon mobile-hidden"
@toggled="onSearchBarToggled"
@click.stop.native
v-if="currentUser || !privateMode"
/>
<router-link
class="mobile-hidden"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment