mirror of
https://github.com/grafana/grafana.git
synced 2024-11-21 16:38:03 -06:00
Scenes: add clearSceneCache to DashboardScenePageStateManager (#94227)
This commit is contained in:
parent
36c38b5310
commit
5fb685dcc6
@ -255,6 +255,10 @@ export class DashboardScenePageStateManager extends StateManagerBase<DashboardSc
|
|||||||
this.cache[cacheKey] = scene;
|
this.cache[cacheKey] = scene;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public clearSceneCache() {
|
||||||
|
this.cache = {};
|
||||||
|
}
|
||||||
|
|
||||||
public getCacheKey(cacheKey: string): string {
|
public getCacheKey(cacheKey: string): string {
|
||||||
const scopesCacheKey = getSelectedScopesNames().sort().join('__scp__');
|
const scopesCacheKey = getSelectedScopesNames().sort().join('__scp__');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user