Use an existing image served by backend instead
This commit is contained in:
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…
Reference in New Issue
Block a user