Set `noteable_type` to use in notesApp
This commit is contained in:
parent
223eeae1a7
commit
a983583ae8
|
@ -8,4 +8,5 @@
|
|||
%section.js-vue-notes-event
|
||||
#js-vue-notes{ data: { notes_data: notes_data(@issue),
|
||||
noteable_data: serialize_issuable(@issue),
|
||||
noteable_type: 'issue',
|
||||
current_user_data: UserSerializer.new.represent(current_user, only_path: true).to_json } }
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue