summaryrefslogtreecommitdiff
path: root/app/views/snippets
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2018-08-31 18:28:29 -0700
committerRobert Speicher <rspeicher@gmail.com>2018-08-31 18:29:37 -0700
commit94531f76d470189c50e679c671ff5430d18a88ba (patch)
treea72f22189c2c1a31d0058d0dc44e5a0de43d29d2 /app/views/snippets
parent6dc252e4066d4e9100954f51e357bdaaffba6e64 (diff)
downloadgitlab-ce-94531f76d470189c50e679c671ff5430d18a88ba.tar.gz
Correct remaining `Lint/UselessAssignment` haml-lint violations
Diffstat (limited to 'app/views/snippets')
-rw-r--r--app/views/snippets/notes/_actions.html.haml1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/views/snippets/notes/_actions.html.haml b/app/views/snippets/notes/_actions.html.haml
index e1f7ee80ebb..220ba2b49e6 100644
--- a/app/views/snippets/notes/_actions.html.haml
+++ b/app/views/snippets/notes/_actions.html.haml
@@ -1,6 +1,5 @@
- if current_user
- if note.emoji_awardable?
- - user_authored = note.user_authored?(current_user)
.note-actions-item
= link_to '#', title: 'Add reaction', class: "note-action-button note-emoji-button js-add-award js-note-emoji has-tooltip", data: { position: 'right' } do
= icon('spinner spin')