diff options
| author | Ariadne Conill <ariadne@dereferenced.org> | 2019-11-11 14:25:38 -0600 |
|---|---|---|
| committer | Ariadne Conill <ariadne@dereferenced.org> | 2019-11-11 14:28:10 -0600 |
| commit | cb5f73148a2dc9341d16326ed606d74e818fb61d (patch) | |
| tree | e04c679dbb8ac9fa37b6fb1f5c8c88674cb91a13 | |
| parent | 1f9674350cdf7455fe5540d377eb327edf1336ce (diff) | |
app: search API is not available in private mode so disable it
| -rw-r--r-- | src/App.js | 3 | ||||
| -rw-r--r-- | src/App.vue | 1 |
2 files changed, 3 insertions, 1 deletions
@@ -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 () { diff --git a/src/App.vue b/src/App.vue index dbe842ec..1f244b56 100644 --- a/src/App.vue +++ b/src/App.vue @@ -43,6 +43,7 @@ class="nav-icon mobile-hidden" @toggled="onSearchBarToggled" @click.stop.native + v-if="currentUser || !privateMode" /> <router-link class="mobile-hidden" |
