mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-07 14:47:11 +02: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 New Issue
Block a user