From 6ccbbebad98a6b6dce69b9248d06a2bc9d84b619 Mon Sep 17 00:00:00 2001 From: seanyesmunt Date: Wed, 7 Apr 2021 14:13:40 -0400 Subject: [PATCH] limit simple site search options to just video and text --- ui/component/searchOptions/view.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/component/searchOptions/view.jsx b/ui/component/searchOptions/view.jsx index 7717ac372..746f28f44 100644 --- a/ui/component/searchOptions/view.jsx +++ b/ui/component/searchOptions/view.jsx @@ -58,6 +58,8 @@ const SearchOptions = (props: Props) => { if (simple) { delete TYPES_ADVANCED[SEARCH_OPTIONS.MEDIA_APPLICATION]; + delete TYPES_ADVANCED[SEARCH_OPTIONS.MEDIA_IMAGE]; + delete TYPES_ADVANCED[SEARCH_OPTIONS.MEDIA_AUDIO]; } React.useEffect(() => {