* 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
(cherry picked from commit 4f44ff7ce8)
Co-authored-by: Connor Lindsey <cblindsey3@gmail.com>
This commit is contained in:
co-authored by
Connor Lindsey
parent
8343e79f3e
commit
5af06db660
@@ -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}`}
|
||||
|
||||
Reference in New Issue
Block a user