more minor changes

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz 2019-11-24 15:10:10 +01:00
parent cfb70cbf1a
commit 56b101e958

View file

@ -27,7 +27,7 @@ class PanelList extends Component<RouteComponentProps & PathPrefixProps, PanelLi
const urlPanels = decodePanelOptionsFromQueryString(window.location.search);
this.state = {
panels: urlPanels,
panels: urlPanels.length ? urlPanels : [],
pastQueries: [],
metricNames: [],
fetchMetricsError: null,