Use an existing image served by backend instead

This commit is contained in:
taehoon 2019-02-03 13:30:54 -05:00
parent 4833f79cc2
commit e7f43d6bc3
2 changed files with 1 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1,5 +1,4 @@
import StillImage from '../still-image/still-image.vue'
import avatarPlaceholderImage from '../../assets/avatar-placeholder.png'
const UserAvatar = {
props: [
@ -17,7 +16,7 @@ const UserAvatar = {
},
computed: {
imgSrc () {
return this.showPlaceholder ? avatarPlaceholderImage : this.src
return this.showPlaceholder ? '/images/avi.png' : this.src
}
},
methods: {