Fix error for zero results (#692)

This commit is contained in:
Mario authored and GitHub committed 2025-12-30 15:00:01 +01:00
1 parent 5981a21830
commit 3810e9567f
1 file changed
+1 -1
+1 -1
View File
@@ -829,7 +829,7 @@ class TopologyHomeView(PermissionRequiredMixin, View):
node_label_items=node_label_items,
)
if not topo_data["nodes"]:
if topo_data is None or not topo_data["nodes"]:
empty_result = True
else: