Snapshots: Update load method to maintain correct reference to manager (#109156)

Update loadsnapshot method to use .call
This commit is contained in:
Collin Fingar
2025-08-05 08:19:21 -04:00
committed by GitHub
parent 3048fc6205
commit eb84224266
@@ -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() {