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'; ...@@ -6,12 +6,7 @@ import { truncateSha } from '~/lib/utils/text_utility';
import { s__, __, sprintf } from '~/locale'; import { s__, __, sprintf } from '~/locale';
import systemNote from '~/vue_shared/components/notes/system_note.vue'; import systemNote from '~/vue_shared/components/notes/system_note.vue';
import icon from '~/vue_shared/components/icon.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'; import TimelineEntryItem from '~/vue_shared/components/notes/timeline_entry_item.vue';
>>>>>>> upstream/master
import Flash from '../../flash'; import Flash from '../../flash';
import { SYSTEM_NOTE } from '../constants'; import { SYSTEM_NOTE } from '../constants';
import userAvatarLink from '../../vue_shared/components/user_avatar/user_avatar_link.vue'; import userAvatarLink from '../../vue_shared/components/user_avatar/user_avatar_link.vue';
...@@ -43,11 +38,7 @@ export default { ...@@ -43,11 +38,7 @@ export default {
placeholderNote, placeholderNote,
placeholderSystemNote, placeholderSystemNote,
systemNote, systemNote,
<<<<<<< HEAD
DraftNote,
=======
TimelineEntryItem, TimelineEntryItem,
>>>>>>> upstream/master
}, },
directives: { directives: {
GlTooltip: GlTooltipDirective, GlTooltip: GlTooltipDirective,
...@@ -388,21 +379,6 @@ Please check your network connection and try again.`; ...@@ -388,21 +379,6 @@ Please check your network connection and try again.`;
@handleDeleteNote="deleteNoteHandler" @handleDeleteNote="deleteNoteHandler"
/> />
</template> </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>
<template v-else> <template v-else>
<component <component
...@@ -432,7 +408,6 @@ Please check your network connection and try again.`; ...@@ -432,7 +408,6 @@ Please check your network connection and try again.`;
Reply... Reply...
</button> </button>
<div v-if="discussion.resolvable"> <div v-if="discussion.resolvable">
>>>>>>> upstream/master
<button <button
type="button" type="button"
class="btn btn-default mr-sm-2" class="btn btn-default mr-sm-2"
...@@ -468,21 +443,6 @@ Please check your network connection and try again.`; ...@@ -468,21 +443,6 @@ Please check your network connection and try again.`;
</button> </button>
</div> </div>
</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> </div>
</template> </template>
<note-form <note-form
...@@ -495,7 +455,6 @@ Please check your network connection and try again.`; ...@@ -495,7 +455,6 @@ Please check your network connection and try again.`;
@cancelForm="cancelReplyForm" @cancelForm="cancelReplyForm"
/> />
<note-signed-out-widget v-if="!canReply" /> <note-signed-out-widget v-if="!canReply" />
>>>>>>> upstream/master
</div> </div>
</div> </div>
</component> </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