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

このコミットが含まれているのは:
Ariadne Conill 2019-11-11 14:25:38 -06:00
コミット cb5f73148a
2個のファイルの変更3行の追加1行の削除

ファイルの表示

@ -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"