ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix actor host link if search index is disabled
Chocobozzzc8ea1c687ac8
diff --git a/client/src/app/shared/shared-actor/actor-host.component.ts b/client/src/app/shared/shared-actor/actor-host.component.tsindex 58ab5f59fb..df0509775d 100644--- a/client/src/app/shared/shared-actor/actor-host.component.ts+++ b/client/src/app/shared/shared-actor/actor-host.component.ts@@ -28,11 +28,7 @@ export class ActorHostComponent implements OnChanges {const config = this.server.getHTMLConfig()- const useSearchIndex = this.auth.isLoggedIn()- ? config.search.remoteUri.users- : config.search.remoteUri.anonymous-- this.searchTarget = useSearchIndex+ this.searchTarget = config.search.searchIndex.enabled? 'search-index': 'local'}