mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 22:19:40 -08:00
React UI: Fix initial setting of past queries (#6226)
Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
parent
9698262b63
commit
db76da7603
|
@ -79,6 +79,8 @@ class PanelList extends Component<any, PanelListState> {
|
||||||
this.setState({panels: panels});
|
this.setState({panels: panels});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.updatePastQueries();
|
||||||
}
|
}
|
||||||
|
|
||||||
isHistoryEnabled = () => JSON.parse(localStorage.getItem('enable-query-history') || 'false') as boolean;
|
isHistoryEnabled = () => JSON.parse(localStorage.getItem('enable-query-history') || 'false') as boolean;
|
||||||
|
|
Loading…
Reference in a new issue