Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/work_items/components/notes/work_item_discussion.vue')
-rw-r--r--app/assets/javascripts/work_items/components/notes/work_item_discussion.vue14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/assets/javascripts/work_items/components/notes/work_item_discussion.vue b/app/assets/javascripts/work_items/components/notes/work_item_discussion.vue
index e98e03f76fd..f030363664f 100644
--- a/app/assets/javascripts/work_items/components/notes/work_item_discussion.vue
+++ b/app/assets/javascripts/work_items/components/notes/work_item_discussion.vue
@@ -164,12 +164,7 @@ export default {
@reportAbuse="$emit('reportAbuse', note)"
@error="$emit('error', $event)"
/>
- <timeline-entry-item
- v-else
- :class="{ 'internal-note': note.internal }"
- :data-note-id="noteId"
- class="note note-discussion gl-px-0"
- >
+ <timeline-entry-item v-else :data-note-id="noteId" class="note note-discussion gl-px-0">
<div class="timeline-content">
<div class="discussion">
<div class="discussion-body">
@@ -222,7 +217,11 @@ export default {
@error="$emit('error', $event)"
/>
</template>
- <work-item-note-replying v-if="isReplying" :body="replyingText" />
+ <work-item-note-replying
+ v-if="isReplying"
+ :is-internal-note="note.internal"
+ :body="replyingText"
+ />
<work-item-add-note
v-if="shouldShowReplyForm"
:notes-form="false"
@@ -235,6 +234,7 @@ export default {
:add-padding="true"
:autocomplete-data-sources="autocompleteDataSources"
:markdown-preview-path="markdownPreviewPath"
+ :is-internal-thread="note.internal"
@startReplying="showReplyForm"
@cancelEditing="hideReplyForm"
@replied="onReplied"