Skip to content

Commit 6030c52

Browse files
ibuclawjeremystretch
authored andcommitted
Fix typo in Add Components dropdown
1 parent 83dad6f commit 6030c52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox/templates/dcim/device/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
{% if perms.dcim.add_rearport %}
4343
<li><a class="dropdown-item" href="{% url 'dcim:rearport_add' %}?device={{ object.pk }}&return_url={% url 'dcim:device_rearports' pk=object.pk %}">{% trans "Rear Ports" %}</a></li>
4444
{% endif %}
45-
{% if perms.dcim.add_devicebay %}
45+
{% if perms.dcim.add_modulebay %}
4646
<li><a class="dropdown-item" href="{% url 'dcim:modulebay_add' %}?device={{ object.pk }}&return_url={% url 'dcim:device_modulebays' pk=object.pk %}">{% trans "Module Bays" %}</a></li>
4747
{% endif %}
4848
{% if perms.dcim.add_devicebay %}

0 commit comments

Comments
 (0)