From f1785602c49eb64f77b19d71721b6108e57dc7ab Mon Sep 17 00:00:00 2001
From: Aaron Kable <aaronkable@gmail.com>
Date: Sun, 11 Aug 2024 08:52:11 +0800
Subject: [PATCH] unknown bridges make issues

---
 corptools/api/corporation/dashboards.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/corptools/api/corporation/dashboards.py b/corptools/api/corporation/dashboards.py
index e23ba1b..8866dfd 100644
--- a/corptools/api/corporation/dashboards.py
+++ b/corptools/api/corporation/dashboards.py
@@ -61,6 +61,7 @@ def get_dashboard_gates(request):
                 split = s.name.split(" ยป ")
                 from_sys = split[0]
                 to_sys = split[1].split(" - ")[0]
+                connection = f"{from_sys}{to_sys}"
                 reverse_connection = f"{to_sys}{from_sys}"
                 days = 0
                 if s.fuel_expires:
@@ -92,7 +93,7 @@ def get_dashboard_gates(request):
                     }
                     output[from_sys]["end"] = {
                         "known": False, "active": False}
-                    second_systems.add(reverse_connection)
+                    second_systems.add(connection)
 
             return list(output.values())