mirror of
https://github.com/grafana/grafana.git
synced 2024-12-02 05:29:42 -06:00
DashboardScene: Fixes compatability wrapper to make annotation list panel work (#82287)
This commit is contained in:
parent
14ec1a7971
commit
e2ea20b446
@ -32,6 +32,9 @@ export class DashboardModelCompatibilityWrapper {
|
||||
public constructor(private _scene: DashboardScene) {
|
||||
const timeRange = sceneGraph.getTimeRange(_scene);
|
||||
|
||||
// Copied from DashboardModel, as this function is passed around
|
||||
this.formatDate = this.formatDate.bind(this);
|
||||
|
||||
this._subs.add(
|
||||
timeRange.subscribeToState((state, prev) => {
|
||||
if (state.value !== prev.value) {
|
||||
|
Loading…
Reference in New Issue
Block a user