mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
more minor changes
Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
parent
cfb70cbf1a
commit
56b101e958
|
@ -27,7 +27,7 @@ class PanelList extends Component<RouteComponentProps & PathPrefixProps, PanelLi
|
||||||
const urlPanels = decodePanelOptionsFromQueryString(window.location.search);
|
const urlPanels = decodePanelOptionsFromQueryString(window.location.search);
|
||||||
|
|
||||||
this.state = {
|
this.state = {
|
||||||
panels: urlPanels,
|
panels: urlPanels.length ? urlPanels : [],
|
||||||
pastQueries: [],
|
pastQueries: [],
|
||||||
metricNames: [],
|
metricNames: [],
|
||||||
fetchMetricsError: null,
|
fetchMetricsError: null,
|
||||||
|
|
Loading…
Reference in a new issue