mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Only let nodeGraph frames process through nodeGraph
This commit is contained in:
parent
ee4422d1e2
commit
b8be50e219
@ -11,6 +11,8 @@ import { getGraphFrame } from './utils';
|
||||
*/
|
||||
export function useCategorizeFrames(series: DataFrame[]) {
|
||||
return useMemo(() => {
|
||||
return getGraphFrame(series);
|
||||
return getGraphFrame(
|
||||
series.filter((singleSeries) => singleSeries.meta?.preferredVisualisationType === 'nodeGraph')
|
||||
);
|
||||
}, [series]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user