diff options
Diffstat (limited to 'app/assets/javascripts/notes/components/noteable_note.vue')
-rw-r--r-- | app/assets/javascripts/notes/components/noteable_note.vue | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/notes/components/noteable_note.vue b/app/assets/javascripts/notes/components/noteable_note.vue index cda22b58c5b..af0c1e9619e 100644 --- a/app/assets/javascripts/notes/components/noteable_note.vue +++ b/app/assets/javascripts/notes/components/noteable_note.vue @@ -447,7 +447,7 @@ export default { :author="author" :created-at="note.created_at" :note-id="note.id" - :is-confidential="note.confidential" + :is-internal-note="note.confidential" :noteable-type="noteableType" > <template #note-header-info> @@ -493,9 +493,10 @@ export default { <note-body ref="noteBody" :note="note" + :can-edit="note.current_user.can_edit" + :is-internal-note="note.confidential" :line="line" :file="diffFile" - :can-edit="note.current_user.can_edit" :is-editing="isEditing" :help-page-path="helpPagePath" @handleFormUpdate="formUpdateHandler" |