Skip to content

Commit 9fb50e1

Browse files
committed
show topology when expectedNodes is set
1 parent 489bd5d commit 9fb50e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/components/tabs/netflow-topology/2d/topology-content.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ export const TopologyContent: React.FC<TopologyContentProps> = ({
471471
useEventListener(graphLayoutEndEvent, onLayoutEnd);
472472
useEventListener(graphPositionChangeEvent, onLayoutPositionChange);
473473

474-
if (_.isEmpty(metrics) && _.isEmpty(droppedMetrics)) {
474+
if (_.isEmpty(metrics) && _.isEmpty(droppedMetrics) && _.isEmpty(expectedNodes)) {
475475
return (
476476
<Bullseye data-test="no-results-found">
477477
<Empty showDetails={true} resetDefaultFilters={resetDefaultFilters} clearFilters={clearFilters} />

0 commit comments

Comments
 (0)