17 lines
418 B
JavaScript
17 lines
418 B
JavaScript
import { mapGetters } from 'vuex';
|
|
|
|
export default {
|
|
computed: {
|
|
...mapGetters('batchComments', [
|
|
'shouldRenderDraftRow',
|
|
'shouldRenderParallelDraftRow',
|
|
'draftForLine',
|
|
'draftsForFile',
|
|
'hasParallelDraftLeft',
|
|
'hasParallelDraftRight',
|
|
]),
|
|
imageDiscussions() {
|
|
return this.diffFile.discussions.concat(this.draftsForFile(this.diffFile.file_hash));
|
|
},
|
|
},
|
|
};
|