React UI: Fix initial setting of past queries (#6226)

Signed-off-by: Julius Volz <julius.volz@gmail.com>
pull/6231/head
Julius Volz 7 years ago committed by GitHub
parent 9698262b63
commit db76da7603
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      web/ui/react-app/src/PanelList.tsx

@ -79,6 +79,8 @@ class PanelList extends Component<any, PanelListState> {
this.setState({panels: panels});
}
}
this.updatePastQueries();
}
isHistoryEnabled = () => JSON.parse(localStorage.getItem('enable-query-history') || 'false') as boolean;

Loading…
Cancel
Save