DashboardScene: Link to explore should take adhoc filters into account (#78440)

* DashboardScene: Link to explore should take adhoc filters into account

* Fix imports
This commit is contained in:
Torkel Ödegaard 2023-11-22 09:45:12 +01:00 committed by GitHub
parent 393d103782
commit ae3d70af3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,5 +91,6 @@ export function tryGetExploreUrlForPanel(vizPanel: VizPanel): Promise<string | u
dsRef: queryRunner.state.datasource,
timeRange: timeRange.state.value,
scopedVars: { __sceneObject: { value: vizPanel } },
adhocFilters: queryRunner.state.data?.request?.filters,
});
}