summaryrefslogtreecommitdiff
path: root/app/views/admin/labels/_label.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/labels/_label.html.haml')
-rw-r--r--app/views/admin/labels/_label.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/labels/_label.html.haml b/app/views/admin/labels/_label.html.haml
index dbb7224f5f9..6d934654c5d 100644
--- a/app/views/admin/labels/_label.html.haml
+++ b/app/views/admin/labels/_label.html.haml
@@ -1,5 +1,5 @@
%li.label-list-item{ id: dom_id(label) }
- = render "shared/label_row", label: label
+ = render "shared/label_row", label: label.present(issuable_subject: nil)
.label-actions-list
= link_to edit_admin_label_path(label), class: 'btn btn-transparent label-action has-tooltip', title: _('Edit'), data: { placement: 'bottom' }, aria_label: _('Edit') do
= sprite_icon('pencil')