mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 21:19:28 -06:00
NodeGraph: Update no data message to show if no nodes (#44483)
* Display error if no service graph data is returned * Remove error message and update node graph no data logic * Check processed nodes instead of rendered nodes for no data message * Remove console.log
This commit is contained in:
parent
6e1615b42a
commit
4f44ff7ce8
@ -189,7 +189,7 @@ export function NodeGraph({ getLinks, dataFrames, nodeLimit }: Props) {
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
{dataFrames.length ? (
|
||||
{dataFrames.length && processed.nodes.length ? (
|
||||
<svg
|
||||
ref={panRef}
|
||||
viewBox={`${-(width / 2)} ${-(height / 2)} ${width} ${height}`}
|
||||
|
Loading…
Reference in New Issue
Block a user