From db76da7603264d8662a5e8d70c7e97f2fc507012 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Sat, 26 Oct 2019 22:20:52 +0200 Subject: [PATCH] React UI: Fix initial setting of past queries (#6226) Signed-off-by: Julius Volz --- web/ui/react-app/src/PanelList.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/ui/react-app/src/PanelList.tsx b/web/ui/react-app/src/PanelList.tsx index 2a63af2b08..a596257f43 100644 --- a/web/ui/react-app/src/PanelList.tsx +++ b/web/ui/react-app/src/PanelList.tsx @@ -79,6 +79,8 @@ class PanelList extends Component { this.setState({panels: panels}); } } + + this.updatePastQueries(); } isHistoryEnabled = () => JSON.parse(localStorage.getItem('enable-query-history') || 'false') as boolean;