summaryrefslogtreecommitdiff
path: root/app/views/projects/notes
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-02-08 14:58:08 +0000
committerPhil Hughes <me@iamphill.com>2017-02-09 15:54:19 +0000
commitf9c58d938851ca63b8c4ff5d2bf9324aa6541170 (patch)
tree713127bf117b0318c296870f9717b5f7542a176c /app/views/projects/notes
parent4975f4160ac65b3d9ae51d074efcb61bb63cf6b4 (diff)
downloadgitlab-ce-f9c58d938851ca63b8c4ff5d2bf9324aa6541170.tar.gz
Refactored diff notes Vue app
It now relies on its Vue bundle rather than the window. Fixes some reactivity issues that was happening in EE
Diffstat (limited to 'app/views/projects/notes')
-rw-r--r--app/views/projects/notes/_note.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/notes/_note.html.haml b/app/views/projects/notes/_note.html.haml
index 4b1da9c73e5..e58de9f0e18 100644
--- a/app/views/projects/notes/_note.html.haml
+++ b/app/views/projects/notes/_note.html.haml
@@ -30,8 +30,7 @@
- if note.resolvable?
- can_resolve = can?(current_user, :resolve_note, note)
- %resolve-btn{ "project-path" => "#{project_path(note.project)}",
- "discussion-id" => "#{note.discussion_id}",
+ %resolve-btn{ "discussion-id" => "#{note.discussion_id}",
":note-id" => note.id,
":resolved" => note.resolved?,
":can-resolve" => can_resolve,