fix user-card avatar falling into permament failed state

This commit is contained in:
Henry Jameson 2019-03-14 23:04:30 +02:00
parent 6420c93e98
commit 71c12fa3a5

View file

@ -23,6 +23,11 @@ const UserAvatar = {
imageLoadError () { imageLoadError () {
this.showPlaceholder = true this.showPlaceholder = true
} }
},
watch: {
src () {
this.showPlaceholder = false
}
} }
} }