forked from AkkomaGang/akkoma-fe
Force recreation of img node.
This commit is contained in:
parent
d59f2985bd
commit
f529c36a9c
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="attachment">
|
<div class="attachment">
|
||||||
<a class="image-attachment" v-if="nsfw" v-on:click.prevent="showNsfw()">
|
<a class="image-attachment" v-if="nsfw" v-on:click.prevent="showNsfw()">
|
||||||
<img :src="nsfwImage"></img>
|
<img :key="nsfwImage" :src="nsfwImage"></img>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a class="image-attachment" v-if="type === 'image' && !nsfw" :href="attachment.url" target="_blank"><img :src="attachment.url"></img></a>
|
<a class="image-attachment" v-if="type === 'image' && !nsfw" :href="attachment.url" target="_blank"><img :src="attachment.url"></img></a>
|
||||||
|
|
Loading…
Reference in a new issue