Просмотр исходного кода

Fixes #5484: Fix "tagged" indication in VLAN members list

Jeremy Stretch 5 лет назад
Родитель
Сommit
26426c1431
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      docs/release-notes/version-2.10.md
  2. 1 1
      netbox/ipam/tables.py

+ 1 - 0
docs/release-notes/version-2.10.md

@@ -7,6 +7,7 @@
 * [#5468](https://github.com/netbox-community/netbox/issues/5468) - Fix unlocking secrets from device/VM view
 * [#5473](https://github.com/netbox-community/netbox/issues/5473) - Fix alignment of rack names in elevations list
 * [#5478](https://github.com/netbox-community/netbox/issues/5478) - Fix display of route target description
+* [#5484](https://github.com/netbox-community/netbox/issues/5484) - Fix "tagged" indication in VLAN members list
 
 ---
 

+ 1 - 1
netbox/ipam/tables.py

@@ -104,7 +104,7 @@ VLANGROUP_ADD_VLAN = """
 """
 
 VLAN_MEMBER_TAGGED = """
-{% if record.untagged_vlan_id == vlan.pk %}
+{% if record.untagged_vlan_id == object.pk %}
     <span class="text-danger"><i class="mdi mdi-close-thick"></i></span>
 {% else %}
     <span class="text-success"><i class="mdi mdi-check-bold"></i></span>