Skip to content

Commit

Permalink
Remove duplicated location param in vlan table (#5467)
Browse files Browse the repository at this point in the history
  • Loading branch information
mzbroch committed Mar 22, 2024
1 parent 2e4ffd6 commit e265c8e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions changes/5466.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove duplicated location param in vlan table.
1 change: 0 additions & 1 deletion nautobot/ipam/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@
{% url 'ipam:vlan_add' %}\
?vid={{ record.vid }}&vlan_group={{ vlan_group.pk }}\
{% if vlan_group.location %}&location={{ vlan_group.location.pk }}{% endif %}\
{% if vlan_group.location %}&location={{ vlan_group.location.pk }}{% endif %}\
" class="btn btn-xs btn-success">{{ record.available }} VLAN{{ record.available|pluralize }} available</a>\
{% else %}
{{ record.available }} VLAN{{ record.available|pluralize }} available
Expand Down

0 comments on commit e265c8e

Please sign in to comment.