diff --git a/src/App.vue b/src/App.vue index 5108225b..bc26bd4c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -9,7 +9,7 @@

{{ t('social', 'Social needs the .well-known automatic discovery to be properly set up. If Nextcloud is not installed in the root of the domain, it is often the case that Nextcloud can\'t configure this automatically. To use Social, the admin of this Nextcloud instance needs to manually configure the .well-known redirects: ') }}{{ t('social', 'Open documentation') }} ↗

- + @@ -178,7 +178,9 @@ export default { this.$store.commit('setServerData', JSON.parse(document.getElementById('serverData').dataset.server)) } - this.search = new OCA.Search(this.search, this.resetSearch) + if (!this.serverData.public) { + this.search = new OCA.Search(this.search, this.resetSearch) + } }, methods: { hideInfo() { diff --git a/src/components/Composer.vue b/src/components/Composer.vue index d2b9513e..11f20a0e 100644 --- a/src/components/Composer.vue +++ b/src/components/Composer.vue @@ -35,14 +35,16 @@