From caeba8998315f7466ca907ba0ebf311305b466bb Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 4 May 2021 17:31:38 -0400 Subject: [PATCH] Adding URL search type. Fixes #286 --- src/shared/components/search.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shared/components/search.tsx b/src/shared/components/search.tsx index 72bdfcc..dc8976c 100644 --- a/src/shared/components/search.tsx +++ b/src/shared/components/search.tsx @@ -326,6 +326,7 @@ export class Search extends Component { {this.state.type_ == SearchType.Posts && this.posts()} {this.state.type_ == SearchType.Communities && this.communities()} {this.state.type_ == SearchType.Users && this.users()} + {this.state.type_ == SearchType.Url && this.posts()} {this.resultsCount() == 0 && {i18n.t("no_results")}} {this.paginator()} @@ -374,6 +375,7 @@ export class Search extends Component { {i18n.t("communities")} +