Skip to content
Snippets Groups Projects

Consolidate user avatar Vue logic

Merged username-removed-408230 requested to merge user-avatar-vue-ce into master
All threads resolved!
4 files
+ 77
30
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -22,9 +22,10 @@ const DiffNoteAvatars = Vue.extend({
template: `
<div class="diff-comment-avatar-holders"
v-show="notesCount !== 0">
<div v-if="!isVisible" v-for="note in notesSubset" :key="note.id">
<div v-if="!isVisible">
<!-- FIXME: Pass an alt attribute here for accessibility -->
<user-avatar-image
v-for="note in notesSubset"
class="diff-comment-avatar js-diff-comment-avatar"
@click.native="clickedAvatar($event)"
:src="note.authorAvatar"
Loading