Snapshots: Update load method to maintain correct reference to manager (#109156)
Update loadsnapshot method to use .call
This commit is contained in:
@@ -805,7 +805,7 @@ export class UnifiedDashboardScenePageStateManager extends DashboardScenePageSta
|
||||
}
|
||||
|
||||
public async loadSnapshot(slug: string) {
|
||||
return this.withVersionHandling((manager) => manager.loadSnapshot(slug));
|
||||
return this.withVersionHandling((manager) => manager.loadSnapshot.call(this, slug));
|
||||
}
|
||||
|
||||
public clearDashboardCache() {
|
||||
|
||||
Reference in New Issue
Block a user