summaryrefslogtreecommitdiff
path: root/app/views/projects/merge_requests/show.html.haml
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2018-04-05 13:57:26 +0530
committerKushal Pandya <kushal@gitlab.com>2018-04-06 14:26:40 +0530
commita983583ae8f3dd3e8cafb13d3934636cb095cfcc (patch)
tree1bf32d5c085c7d1d64a211a6b2815a2476485ff3 /app/views/projects/merge_requests/show.html.haml
parent223eeae1a774df4f8d7f132040ba10547184ec68 (diff)
downloadgitlab-ce-a983583ae8f3dd3e8cafb13d3934636cb095cfcc.tar.gz
Set `noteable_type` to use in notesApp
Diffstat (limited to 'app/views/projects/merge_requests/show.html.haml')
-rw-r--r--app/views/projects/merge_requests/show.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/projects/merge_requests/show.html.haml b/app/views/projects/merge_requests/show.html.haml
index 9866cc716ee..15a0e4d7ef5 100644
--- a/app/views/projects/merge_requests/show.html.haml
+++ b/app/views/projects/merge_requests/show.html.haml
@@ -80,6 +80,7 @@
- if has_vue_discussions_cookie?
#js-vue-mr-discussions{ data: { notes_data: notes_data(@merge_request),
noteable_data: serialize_issuable(@merge_request),
+ noteable_type: 'merge_request',
current_user_data: UserSerializer.new.represent(current_user).to_json} }
#commits.commits.tab-pane