diff --git a/netbox/ipam/tables.py b/netbox/ipam/tables.py index 4e6b60e6a..2c04b97c3 100644 --- a/netbox/ipam/tables.py +++ b/netbox/ipam/tables.py @@ -59,7 +59,11 @@ PREFIX_LINK_BRIEF = """ """ PREFIX_ROLE_LINK = """ -{{ record.role }} +{% if record.role %} + {{ record.role }} +{% else %} + — +{% endif %} """ IPADDRESS_LINK = """ @@ -99,7 +103,11 @@ VLAN_PREFIXES = """ """ VLAN_ROLE_LINK = """ -{{ record.role }} +{% if record.role %} + {{ record.role }} +{% else %} + — +{% endif %} """ VLANGROUP_ACTIONS = """