From 95b735ff7244a44c61034be1c1e927f2fef3798e Mon Sep 17 00:00:00 2001 From: taehoon Date: Sat, 2 Feb 2019 14:11:36 -0500 Subject: Show placeholder image if avatar image url is broken --- src/components/still-image/still-image.js | 3 ++- src/components/still-image/still-image.vue | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/components/still-image') diff --git a/src/components/still-image/still-image.js b/src/components/still-image/still-image.js index 5ad06dc2..8f3a7206 100644 --- a/src/components/still-image/still-image.js +++ b/src/components/still-image/still-image.js @@ -2,7 +2,8 @@ const StillImage = { props: [ 'src', 'referrerpolicy', - 'mimetype' + 'mimetype', + 'imageLoadError' ], data () { return { diff --git a/src/components/still-image/still-image.vue b/src/components/still-image/still-image.vue index 1dcb7ce6..29c59e42 100644 --- a/src/components/still-image/still-image.vue +++ b/src/components/still-image/still-image.vue @@ -1,7 +1,7 @@ -- cgit v1.2.3-70-g09d2