Use a correct avatar placeholder image

This commit is contained in:
taehoon 2019-02-02 14:17:00 -05:00
parent 95b735ff72
commit 9c4092dbd5
2 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

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