From 3e08c24cd60978c4fe1b1dc53709744592eb2fae Mon Sep 17 00:00:00 2001
From: Karel van Klink <karel.vanklink@geant.org>
Date: Thu, 12 Dec 2024 14:27:11 +0100
Subject: [PATCH] =?UTF-8?q?Update=20references=20to=20G=C3=89ANT=20service?=
 =?UTF-8?q?=20IDs?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/NetworkMap/LeafletMap.tsx | 14 +++++++-------
 types/types.ts                       |  2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/components/NetworkMap/LeafletMap.tsx b/components/NetworkMap/LeafletMap.tsx
index 7192ac4..0328c2f 100644
--- a/components/NetworkMap/LeafletMap.tsx
+++ b/components/NetworkMap/LeafletMap.tsx
@@ -369,7 +369,7 @@ const LeafletMap: React.FC<LeafletMapProps> = ({ data }) => {
               iptrunk_isis_metric: `${trunk.iptrunk.iptrunk_isis_metric}`,
               iptrunk_ipv4_network: `${trunk.iptrunk.iptrunk_ipv4_network}`,
               iptrunk_ipv6_network: `${trunk.iptrunk.iptrunk_ipv6_network}`,
-              geant_s_sid: `${trunk.iptrunk.geant_s_sid}`,
+              gs_id: `${trunk.iptrunk.gs_id}`,
               iptrunk_type: `${trunk.iptrunk.iptrunk_type}`,
             },
           };
@@ -492,12 +492,12 @@ const LeafletMap: React.FC<LeafletMapProps> = ({ data }) => {
             <EuiSelect
               options={[
                 { value: 'none', text: 'None' },
-                { value: 'iptrunk_isis_metric', text: 'Iptrunk ISIS Metric' },
-                { value: 'iptrunk_capacity', text: 'Iptrunk Capacity' },
-                { value: 'iptrunk_type', text: 'Iptrunk Type' },
-                { value: 'iptrunk_ipv4_network', text: 'Iptrunk IPV4 Network' },
-                { value: 'iptrunk_ipv6_network', text: 'Iptrunk IPV6 Network' },
-                { value: 'geant_s_sid', text: 'GEANT Service ID' },
+                { value: 'iptrunk_isis_metric', text: 'IPtrunk ISIS Metric' },
+                { value: 'iptrunk_capacity', text: 'IPtrunk Capacity' },
+                { value: 'iptrunk_type', text: 'IPtrunk Type' },
+                { value: 'iptrunk_ipv4_network', text: 'IPtrunk IPv4 Network' },
+                { value: 'iptrunk_ipv6_network', text: 'IPtrunk IPv6 Network' },
+                { value: 'gs_id', text: 'GEANT Service ID' },
               ]}
               value={labelType}
               onChange={handleLabelTypeChange}
diff --git a/types/types.ts b/types/types.ts
index dfb150f..c27db94 100644
--- a/types/types.ts
+++ b/types/types.ts
@@ -25,7 +25,7 @@ export interface Iptrunk {
   iptrunk_type: string;
   iptrunk_ipv4_network: string;
   iptrunk_ipv6_network: string;
-  geant_s_sid: string;
+  gs_id: string;
   iptrunk_sides: Array<{ iptrunk_side_node: IptrunkSideNode }>;
 }
 
-- 
GitLab