diff options
author | Douwe Maan <douwe@selenight.nl> | 2019-03-23 17:58:46 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2019-03-26 16:37:15 +0300 |
commit | f95838800f5dd48e7ab9079738c63e1a3523a3ba (patch) | |
tree | 95c8199d0504521fced9ace6a47433aafb959bea /app/assets/javascripts/notes/components/diff_with_note.vue | |
parent | 38b69557e8446052f0ea7c71a9687f55781248e1 (diff) |
Add line type class to diff line num cells
Diffstat (limited to 'app/assets/javascripts/notes/components/diff_with_note.vue')
-rw-r--r-- | app/assets/javascripts/notes/components/diff_with_note.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/notes/components/diff_with_note.vue b/app/assets/javascripts/notes/components/diff_with_note.vue index 9f9c7dc7dd6..ab758a9e922 100644 --- a/app/assets/javascripts/notes/components/diff_with_note.vue +++ b/app/assets/javascripts/notes/components/diff_with_note.vue @@ -81,8 +81,8 @@ export default { :key="line.line_code" class="line_holder" > - <td class="diff-line-num old_line">{{ line.old_line }}</td> - <td class="diff-line-num new_line">{{ line.new_line }}</td> + <td :class="line.type" class="diff-line-num old_line">{{ line.old_line }}</td> + <td :class="line.type" class="diff-line-num new_line">{{ line.new_line }}</td> <td :class="line.type" class="line_content" v-html="line.rich_text"></td> </tr> </template> |