Pārlūkot izejas kodu

Drop the parent column from the IP address's L2VPN terminations table

Brian Tiemann 1 dienu atpakaļ
vecāks
revīzija
8c44be28f4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      netbox/ipam/views.py

+ 1 - 1
netbox/ipam/views.py

@@ -1156,7 +1156,7 @@ class IPAddressView(generic.ObjectView):
             ObjectsTablePanel(
             ObjectsTablePanel(
                 'vpn.l2vpntermination',
                 'vpn.l2vpntermination',
                 filters={'ipaddress_id': lambda ctx: ctx['object'].pk},
                 filters={'ipaddress_id': lambda ctx: ctx['object'].pk},
-                exclude_columns=['assigned_object_type', 'assigned_object'],
+                exclude_columns=['assigned_object_type', 'assigned_object', 'assigned_object_parent'],
                 title=_('L2VPN terminations'),
                 title=_('L2VPN terminations'),
             ),
             ),
         ],
         ],