diff options
author | Robert Speicher <rspeicher@gmail.com> | 2018-08-31 18:28:29 -0700 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2018-08-31 18:29:37 -0700 |
commit | 94531f76d470189c50e679c671ff5430d18a88ba (patch) | |
tree | a72f22189c2c1a31d0058d0dc44e5a0de43d29d2 /app/views/shared/_label.html.haml | |
parent | 6dc252e4066d4e9100954f51e357bdaaffba6e64 (diff) | |
download | gitlab-ce-94531f76d470189c50e679c671ff5430d18a88ba.tar.gz |
Correct remaining `Lint/UselessAssignment` haml-lint violations
Diffstat (limited to 'app/views/shared/_label.html.haml')
-rw-r--r-- | app/views/shared/_label.html.haml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/views/shared/_label.html.haml b/app/views/shared/_label.html.haml index 2c3cbd0b986..71f34c0d85b 100644 --- a/app/views/shared/_label.html.haml +++ b/app/views/shared/_label.html.haml @@ -4,8 +4,6 @@ - use_label_priority = local_assigns.fetch(:use_label_priority, false) - force_priority = local_assigns.fetch(:force_priority, use_label_priority ? label.priority.present? : false) - toggle_subscription_path = toggle_subscription_label_path(label, @project) if current_user -- show_label_merge_requests_link = show_label_issuables_link?(label, :merge_requests, project: @project) -- show_label_issues_link = show_label_issuables_link?(label, :issues, project: @project) - tooltip_title = label_status_tooltip(label, status) if status %li.label-list-item{ id: label_css_id, data: { id: label.id } } |