gitlab-org--gitlab-foss/app/assets/javascripts/diffs/mixins/draft_comments.js
Natalia Tepluhina aeb2efaba2 Backported EE fix to CE
- fixed attribute to be not hyphenated
- applied parallel diffs view on CE
- separated left and right drafts
- added fallback for hasDrafts
2019-07-08 09:49:48 +00:00

12 lines
336 B
JavaScript

export default {
computed: {
shouldRenderDraftRow: () => () => false,
shouldRenderParallelDraftRow: () => () => false,
draftForLine: () => () => ({}),
imageDiscussions() {
return this.diffFile.discussions;
},
hasParallelDraftLeft: () => () => false,
hasParallelDraftRight: () => () => false,
},
};