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