aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2019-09-04 16:55:07 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2019-09-04 16:55:07 +0000
commitc89703a35980f900b4d206538dc07f83e87c84d8 (patch)
treed22e8bf3688c66c7fb303f948b15e257c3b96487 /src/components
parenta1aada245457c02b3cf37055e6f5ca9f08232362 (diff)
parentd194431642b48f9bd4d66bcce5f187d6d4ff08e2 (diff)
Merge branch '655' into 'develop'
Fix "User avatar not updating immediately when switching user profile" Closes #655 See merge request pleroma/pleroma-fe!940
Diffstat (limited to 'src/components')
-rw-r--r--src/components/still-image/still-image.vue2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/still-image/still-image.vue b/src/components/still-image/still-image.vue
index 3fff63f9..4137bd59 100644
--- a/src/components/still-image/still-image.vue
+++ b/src/components/still-image/still-image.vue
@@ -7,8 +7,10 @@
v-if="animated"
ref="canvas"
/>
+ <!-- NOTE: key is required to force to re-render img tag when src is changed -->
<img
ref="src"
+ :key="src"
:src="src"
:referrerpolicy="referrerpolicy"
@load="onLoad"