Merge branch 'fix-hidden-attachments' into 'develop'

fix placeholder attachments opening new tab

Closes #1139

See merge request pleroma/pleroma-fe!1439
This commit is contained in:
HJ 2022-02-28 17:46:58 +00:00
commit 514d7d3f88

View File

@ -12,6 +12,7 @@
:href="attachment.url" :href="attachment.url"
:alt="attachment.description" :alt="attachment.description"
:title="attachment.description" :title="attachment.description"
@click.prevent
> >
<FAIcon :icon="placeholderIconClass" /> <FAIcon :icon="placeholderIconClass" />
<b>{{ nsfw ? "NSFW / " : "" }}</b>{{ edit ? '' : placeholderName }} <b>{{ nsfw ? "NSFW / " : "" }}</b>{{ edit ? '' : placeholderName }}