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!
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -22,9 +22,9 @@ const DiffNoteAvatars = Vue.extend({
template: `
<div class="diff-comment-avatar-holders"
v-show="notesCount !== 0">
<div v-if="!isVisible">
<div v-if="!isVisible" v-for="note in notesSubset" :key="note.id">
<!-- FIXME: Pass an alt attribute here for accessibility -->
<user-avatar-image v-for="note in notesSubset"
<user-avatar-image
class="diff-comment-avatar js-diff-comment-avatar"
@click="clickedAvatar($event)"
:img-src="note.authorAvatar"
Loading