mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore Metrics: Remove filter resetting when changing the datasource (#97589)
remove filter resetting
This commit is contained in:
parent
faa4b683a3
commit
3dc2bdfb20
@ -176,11 +176,6 @@ export class DataTrail extends SceneObjectBase<DataTrailState> {
|
||||
|
||||
// fresh check for otel experience
|
||||
this.checkDataSourceForOTelResources();
|
||||
// clear filters on resetting the data source
|
||||
const adhocVariable = sceneGraph.lookupVariable(VAR_FILTERS, this);
|
||||
if (adhocVariable instanceof AdHocFiltersVariable) {
|
||||
adhocVariable.setState({ filters: [] });
|
||||
}
|
||||
}
|
||||
|
||||
// update otel variables when changed
|
||||
|
Loading…
Reference in New Issue
Block a user