Commit b60ad423 authored by Phil Hughes's avatar Phil Hughes

Resolve inline and parallel diff view component

parent 76c2b125
...@@ -24,10 +24,7 @@ export default { ...@@ -24,10 +24,7 @@ export default {
}, },
computed: { computed: {
...mapGetters('diffs', ['commitId']), ...mapGetters('diffs', ['commitId']),
<<<<<<< HEAD
...mapGetters('batchComments', ['shouldRenderDraftRow', 'draftForLine']), ...mapGetters('batchComments', ['shouldRenderDraftRow', 'draftForLine']),
=======
>>>>>>> upstream/master
diffLinesLength() { diffLinesLength() {
return this.diffLines.length; return this.diffLines.length;
}, },
...@@ -55,14 +52,11 @@ export default { ...@@ -55,14 +52,11 @@ export default {
:key="`icr-${index}`" :key="`icr-${index}`"
:diff-file-hash="diffFile.file_hash" :diff-file-hash="diffFile.file_hash"
:line="line" :line="line"
<<<<<<< HEAD
/> />
<inline-draft-comment-row <inline-draft-comment-row
v-if="shouldRenderDraftRow(diffFile.file_hash, line)" v-if="shouldRenderDraftRow(diffFile.file_hash, line)"
:key="`draft_${index}`" :key="`draft_${index}`"
:draft="draftForLine(diffFile.file_hash, line)" :draft="draftForLine(diffFile.file_hash, line)"
=======
>>>>>>> upstream/master
/> />
</template> </template>
</tbody> </tbody>
......
...@@ -24,10 +24,7 @@ export default { ...@@ -24,10 +24,7 @@ export default {
}, },
computed: { computed: {
...mapGetters('diffs', ['commitId']), ...mapGetters('diffs', ['commitId']),
<<<<<<< HEAD
...mapGetters('batchComments', ['shouldRenderParallelDraftRow', 'draftForLine']), ...mapGetters('batchComments', ['shouldRenderParallelDraftRow', 'draftForLine']),
=======
>>>>>>> upstream/master
diffLinesLength() { diffLinesLength() {
return this.diffLines.length; return this.diffLines.length;
}, },
......
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