From 9e9924943e9d3cd0cf4d2e55bff0f4b6861b9b6d Mon Sep 17 00:00:00 2001 From: Vishal Gupta Date: Thu, 29 Sep 2022 11:18:37 +0530 Subject: [PATCH] feat: #1524 refresh button bug fix (#1582) * feat: #1524 refresh button bug fix * lint fixes Co-authored-by: palashgdev --- frontend/src/container/TopNav/DateTimeSelection/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/container/TopNav/DateTimeSelection/index.tsx b/frontend/src/container/TopNav/DateTimeSelection/index.tsx index c5df866842..c170a7cef3 100644 --- a/frontend/src/container/TopNav/DateTimeSelection/index.tsx +++ b/frontend/src/container/TopNav/DateTimeSelection/index.tsx @@ -166,6 +166,9 @@ function DateTimeSelection({ const selectedLabel = getInputLabel(undefined, undefined, value); setSelectedTimeInterval(selectedLabel as Time); updateLocalStorageForRoutes(value); + if (refreshButtonHidden) { + setRefreshButtonHidden(false); + } } else { setRefreshButtonHidden(true); setCustomDTPickerVisible(true);