Commit dae7daa3 authored by George Tsiolis's avatar George Tsiolis

Resolve app/assets/javascripts/notes/components/noteable_discussion.vue

parent d62108ad
......@@ -6,12 +6,7 @@ import { truncateSha } from '~/lib/utils/text_utility';
import { s__, __, sprintf } from '~/locale';
import systemNote from '~/vue_shared/components/notes/system_note.vue';
import icon from '~/vue_shared/components/icon.vue';
<<<<<<< HEAD
import batchCommentsDiffLineNoteFormMixin from 'ee/batch_comments/mixins/diff_line_note_form';
import DraftNote from 'ee/batch_comments/components/draft_note.vue';
=======
import TimelineEntryItem from '~/vue_shared/components/notes/timeline_entry_item.vue';
>>>>>>> upstream/master
import Flash from '../../flash';
import { SYSTEM_NOTE } from '../constants';
import userAvatarLink from '../../vue_shared/components/user_avatar/user_avatar_link.vue';
......@@ -43,11 +38,7 @@ export default {
placeholderNote,
placeholderSystemNote,
systemNote,
<<<<<<< HEAD
DraftNote,
=======
TimelineEntryItem,
>>>>>>> upstream/master
},
directives: {
GlTooltip: GlTooltipDirective,
......@@ -388,21 +379,6 @@ Please check your network connection and try again.`;
@handleDeleteNote="deleteNoteHandler"
/>
</template>
<<<<<<< HEAD
</ul>
<draft-note
v-if="showDraft(discussion.reply_id)"
:key="`draft_${discussion.id}`"
:draft="draftForDiscussion(discussion.reply_id)"
/>
<div
v-else-if="!isRepliesCollapsed"
:class="{ 'is-replying': isReplying }"
class="discussion-reply-holder"
>
<template v-if="!isReplying && canReply">
<div class="discussion-with-resolve-btn">
=======
</template>
<template v-else>
<component
......@@ -432,7 +408,6 @@ Please check your network connection and try again.`;
Reply...
</button>
<div v-if="discussion.resolvable">
>>>>>>> upstream/master
<button
type="button"
class="btn btn-default mr-sm-2"
......@@ -468,21 +443,6 @@ Please check your network connection and try again.`;
</button>
</div>
</div>
<<<<<<< HEAD
</template>
<note-form
v-if="isReplying"
ref="noteForm"
:discussion="discussion"
:is-editing="false"
save-button-title="Comment"
@handleFormUpdateAddToReview="addReplyToReview"
@handleFormUpdate="saveReply"
@cancelForm="cancelReplyForm"
/>
<note-signed-out-widget v-if="!canReply" />
</div>
=======
</div>
</template>
<note-form
......@@ -495,7 +455,6 @@ Please check your network connection and try again.`;
@cancelForm="cancelReplyForm"
/>
<note-signed-out-widget v-if="!canReply" />
>>>>>>> upstream/master
</div>
</div>
</component>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment