From 340c883ac7de7d588d3e2ffb96b53439c0242a0d Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Tue, 30 Mar 2021 21:43:50 +0800 Subject: [PATCH] Disable 'last hour' Requires further work in IAPI --- ui/component/searchOptions/view.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/component/searchOptions/view.jsx b/ui/component/searchOptions/view.jsx index f5059d2f3..4f4ca36d8 100644 --- a/ui/component/searchOptions/view.jsx +++ b/ui/component/searchOptions/view.jsx @@ -23,7 +23,7 @@ const TYPES_ADVANCED = { const TIME_FILTER = { '': 'None', - [SEARCH_OPTIONS.TIME_FILTER_LAST_HOUR]: 'Last Hour', + // [SEARCH_OPTIONS.TIME_FILTER_LAST_HOUR]: 'Last Hour', -- disable (doesn't work) [SEARCH_OPTIONS.TIME_FILTER_TODAY]: 'Last 24 Hours', [SEARCH_OPTIONS.TIME_FILTER_THIS_WEEK]: 'This Week', [SEARCH_OPTIONS.TIME_FILTER_THIS_MONTH]: 'This Month',