diff --git a/components/NetworkMap/LeafletMap.tsx b/components/NetworkMap/LeafletMap.tsx index 7192ac4d1a47d5a1e1970766629e5697b3a31ae2..0328c2f89809c9a012f7b2c968601c59e1a8dfe2 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 dfb150fa8e4109dabe842388993553f511514073..c27db94cc35dd2f255d3509c139572e6dcd5fa5c 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 }>; }