Use an existing image served by backend instead

tae-hoon/pleroma-fe-323-improve-image-lightbox
taehoon 6 years ago
parent 4833f79cc2
commit e7f43d6bc3

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

@ -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: {

Loading…
Cancel
Save