From e001906443542a0cff5703a80c23be277b8e071e Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Fri, 24 Jul 2020 15:58:37 -0400 Subject: [PATCH] hide exact search result for SIMPLE_SITE --- ui/page/search/view.jsx | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/ui/page/search/view.jsx b/ui/page/search/view.jsx index 4b81f84c9..35e3ac6ca 100644 --- a/ui/page/search/view.jsx +++ b/ui/page/search/view.jsx @@ -1,4 +1,5 @@ // @flow +import { SIMPLE_SITE } from 'config'; import * as ICONS from 'constants/icons'; import * as PAGES from 'constants/pages'; import React, { useEffect, Fragment } from 'react'; @@ -75,23 +76,25 @@ export default function SearchPage(props: Props) {
{urlQuery && ( -
-
- -
-
- -
-
+ {!SIMPLE_SITE && ( +
+
+ +
+
+ +
+
+ )}